From 8d897e713d3564c8b10b0202bb928719024e956b Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 3 Jun 2011 19:52:01 +0200 Subject: [PATCH] Adjust trap handling to get clean exit. --- grml-live | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 {{{ -- 2.1.4