mirror of
https://github.com/actions/runner.git
synced 2025-12-13 10:05:23 +00:00
Return exit code when MANUALLY_TRAP_SIG is exported (#2285)
This commit is contained in:
@@ -48,7 +48,7 @@ runWithManualTrap() {
|
||||
trap - INT TERM
|
||||
# wait for last parts to be logged
|
||||
wait $PID
|
||||
exit 0
|
||||
exit $returnCode
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user