From: Ulrich Dangel Date: Tue, 31 May 2011 17:04:50 +0000 (+0200) Subject: add EXIT trap as set -e may terminate the program without a signal X-Git-Tag: v0.15.0~60 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=e91516d1163b3ec84a6d66ef7053d8bac46e218e;hp=6ce3dbc5219807922d321f8156aefb404ae57c21 add EXIT trap as set -e may terminate the program without a signal --- diff --git a/grml-live b/grml-live index ce38987..2a05d05 100755 --- a/grml-live +++ b/grml-live @@ -153,7 +153,7 @@ bailout() { log "------------------------------------------------------------------------------" exit "$EXIT" } -trap bailout 1 2 3 3 6 9 14 15 +trap bailout 1 2 3 3 6 9 14 15 EXIT # }}} # log file stuff {{{