[Fai-commit] r4820 - trunk/bin
lange at alioth.debian.org
lange at alioth.debian.org
Wed Dec 12 14:19:12 UTC 2007
Author: lange
Date: 2007-12-12 14:19:12 +0000 (Wed, 12 Dec 2007)
New Revision: 4820
Modified:
trunk/bin/fai-cd
Log:
special trap is only needed when create_iso will be called
Modified: trunk/bin/fai-cd
===================================================================
--- trunk/bin/fai-cd 2007-12-11 14:41:02 UTC (rev 4819)
+++ trunk/bin/fai-cd 2007-12-12 14:19:12 UTC (rev 4820)
@@ -287,9 +287,9 @@
vname="Fully Automatic Installation CD"
aname="Fully Automatic Installation by Thomas Lange, $isoversion"
+create_grub_image
+
trap "unhide_dirs;umount_dirs" EXIT ERR
-
-create_grub_image
create_iso
rm -rf $tmp
[ "$burn" -eq 1 ] && burniso
More information about the Fai-commit
mailing list