mirror of
https://github.com/saltstack/salt-bootstrap.git
synced 2025-04-17 10:10:25 +00:00
Trap all known signals.
This commit is contained in:
parent
ba06a7203e
commit
8406af6da4
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ __exit_cleanup() {
|
|||
# Exit with the "original" exit code, not the trapped code
|
||||
exit $EXIT_CODE
|
||||
}
|
||||
trap "__trap_errors" INT KILL QUIT
|
||||
trap "__trap_errors" INT QUIT ABRT KILL QUIT TERM
|
||||
|
||||
# Now we're "good" to kill tee
|
||||
kill -s TERM $TEE_PID
|
||||
|
|
Loading…
Add table
Reference in a new issue