mirror of
https://github.com/actions/runner.git
synced 2025-12-10 12:36:23 +00:00
Remove -f flag in wait when manually trap signal (#3182)
* Remove -f flag in wait when manually trap signal * Remove extra empty line
This commit is contained in:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user