From e91516d1163b3ec84a6d66ef7053d8bac46e218e Mon Sep 17 00:00:00 2001 From: Ulrich Dangel Date: Tue, 31 May 2011 19:04:50 +0200 Subject: [PATCH] add EXIT trap as set -e may terminate the program without a signal --- grml-live | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {{{ -- 2.1.4