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:
Nikola Jokic
2024-03-04 11:32:21 +01:00
committed by GitHub
parent aa90563cae
commit 86d6211c75

View File

@@ -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..."