projects
/
grml-live-grml.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
8a35993
)
Adjust trap handling to get clean exit.
author
Michael Prokop
<mika@grml.org>
Fri, 3 Jun 2011 17:52:01 +0000
(19:52 +0200)
committer
Michael Prokop
<mika@grml.org>
Fri, 3 Jun 2011 17:53:11 +0000
(19:53 +0200)
grml-live
patch
|
blob
|
history
diff --git
a/grml-live
b/grml-live
index
780bf3c
..
85b001c
100755
(executable)
--- a/
grml-live
+++ b/
grml-live
@@
-154,7
+154,8
@@
bailout() {
log "------------------------------------------------------------------------------"
exit "$EXIT"
}
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 {{{
# }}}
# log file stuff {{{