From: Michael Prokop Date: Fri, 3 Jun 2011 17:52:01 +0000 (+0200) Subject: Adjust trap handling to get clean exit. X-Git-Tag: v0.15.0~54 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=8d897e713d3564c8b10b0202bb928719024e956b Adjust trap handling to get clean exit. --- diff --git a/grml-live b/grml-live index 780bf3c..85b001c 100755 --- a/grml-live +++ b/grml-live @@ -154,7 +154,8 @@ bailout() { log "------------------------------------------------------------------------------" exit "$EXIT" } -trap bailout 1 2 3 3 6 9 14 15 EXIT +trap bailout 1 2 3 3 6 9 14 15 +trap umount_all EXIT # }}} # log file stuff {{{