Skip to content

Commit

Permalink
Remove -f flag in wait when manually trap signal (actions#3182)
Browse files Browse the repository at this point in the history
* Remove -f flag in wait when manually trap signal

* Remove extra empty line
  • Loading branch information
nikola-jokic authored Mar 4, 2024
1 parent aa90563 commit 86d6211
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Misc/layoutroot/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ runWithManualTrap() {
cp -f "$DIR"/run-helper.sh.template "$DIR"/run-helper.sh
"$DIR"/run-helper.sh $* &
PID=$!
wait -f $PID
wait $PID
returnCode=$?
if [[ $returnCode -eq 2 ]]; then
echo "Restarting runner..."
Expand Down Expand Up @@ -84,4 +84,4 @@ if [[ -z "$RUNNER_MANUALLY_TRAP_SIG" ]]; then
run $*
else
runWithManualTrap $*
fi
fi

0 comments on commit 86d6211

Please sign in to comment.