[Fai-commit] r3946 - trunk/lib

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Wed Sep 13 14:53:04 UTC 2006


Author: lange
Date: 2006-09-13 14:53:04 +0000 (Wed, 13 Sep 2006)
New Revision: 3946

Modified:
   trunk/lib/subroutines
Log:
fix syntax error


Modified: trunk/lib/subroutines
===================================================================
--- trunk/lib/subroutines	2006-09-13 14:04:59 UTC (rev 3945)
+++ trunk/lib/subroutines	2006-09-13 14:53:04 UTC (rev 3946)
@@ -392,7 +392,7 @@
     [ $do_init_tasks -eq 0 ] && exit 0
     wait_for_jobs
     echo "Press <RETURN> to reboot or ctrl-c to execute a shell"
-    [ -z "flag_$reboot" ] && : ${flag_reboot:=0}
+    [ -z "$flag_reboot" ] && : ${flag_reboot:=0}
     [ -s $LOGDIR.error.log -a "$flag_reboot" -gt "0" ] && sleep 10
     # reboot without prompting if FAI_FLAG reboot is set
     [ "$flag_reboot" -lt "1" ] && read




More information about the Fai-commit mailing list