Trap all known signals.

This commit is contained in:
Pedro Algarvio 2013-01-21 16:21:41 +00:00
parent ba06a7203e
commit 8406af6da4

View file

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