Skip to content

Commit

Permalink
Do not close file descriptor, fixes error on rosetta 'ps: stdout: Bad…
Browse files Browse the repository at this point in the history
… file descriptor' (#6)
  • Loading branch information
lpusok authored Jun 8, 2023
1 parent 533f2ea commit fc67cb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion step.sh
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ EOF

echo "Check status"
sleep 5
if ! ps -p $! >&-; then
if ! ps -p $! >/dev/null ; then
echo "Process exited"
cat "$log_path"
exit 1
Expand Down

0 comments on commit fc67cb4

Please sign in to comment.