add EXIT trap as set -e may terminate the program without a signal
authorUlrich Dangel <mru@grml.org>
Tue, 31 May 2011 17:04:50 +0000 (19:04 +0200)
committerUlrich Dangel <mru@grml.org>
Tue, 31 May 2011 17:04:50 +0000 (19:04 +0200)
grml-live

index ce38987..2a05d05 100755 (executable)
--- 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 {{{