From 86d6211c75d485afadfa4de34aed40a11d5458b5 Mon Sep 17 00:00:00 2001 From: Nikola Jokic Date: Mon, 4 Mar 2024 11:32:21 +0100 Subject: [PATCH] Remove -f flag in wait when manually trap signal (#3182) * Remove -f flag in wait when manually trap signal * Remove extra empty line --- src/Misc/layoutroot/run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Misc/layoutroot/run.sh b/src/Misc/layoutroot/run.sh index 6b02ea18ff1..57f18ee00e1 100755 --- a/src/Misc/layoutroot/run.sh +++ b/src/Misc/layoutroot/run.sh @@ -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..." @@ -84,4 +84,4 @@ if [[ -z "$RUNNER_MANUALLY_TRAP_SIG" ]]; then run $* else runWithManualTrap $* -fi \ No newline at end of file +fi