[Fai-commit] r4137 - trunk/lib

Thomas Lange lange at alioth.debian.org
Fri Nov 3 16:54:10 CET 2006


Author: lange
Date: 2006-11-03 16:54:10 +0100 (Fri, 03 Nov 2006)
New Revision: 4137

Modified:
   trunk/lib/subroutines
Log:
die() only calls bash when FAI_ACTION = install


Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2006-11-03 15:49:05 UTC (rev 4136)
+++ trunk/lib/subroutines	2006-11-03 15:54:10 UTC (rev 4137)
@@ -35,7 +35,11 @@
     # echo comment and exit installation
     task_savelog
     echo "$@"
-    exec bash
+    if [ X$FAI_ACTION = Xinstall ]; then
+	exec bash -i
+    else
+	exit 99
+    fi
 }
 # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
 defnop() {




More information about the Fai-commit mailing list