Return exit code when MANUALLY_TRAP_SIG is exported (#2285)

This commit is contained in:
Nikola Jokic
2022-11-28 17:33:01 +01:00
committed by GitHub
parent 63640e91fa
commit 852a80fcbd
2 changed files with 2 additions and 1 deletions

View File

@@ -48,7 +48,7 @@ runWithManualTrap() {
trap - INT TERM
# wait for last parts to be logged
wait $PID
exit 0
exit $returnCode
fi
done
}