[SCM] live-boot branch, debian-next, updated. debian/3.0_a14-1-3-g5bc9ec5

Marco Amadori amadorim at vdavda.com
Mon Jan 24 09:22:53 UTC 2011


The following commit has been merged in the debian-next branch:
commit 5bc9ec5cb98cfb3213bdb17d060e539914df22c5
Author: Marco Amadori <amadorim at vdavda.com>
Date:   Mon Jan 24 10:21:54 2011 +0100

    Protect NOPROMPT (Closes: #610941).
    
    Signed-off-by: Marco Amadori <amadorim at vdavda.com>

diff --git a/debian/live-boot.init b/debian/live-boot.init
index 2974c23..f0982a8 100644
--- a/debian/live-boot.init
+++ b/debian/live-boot.init
@@ -136,7 +136,7 @@ do_stop ()
 	fi
 
 	prompt=1
-	if [ ${NOPROMPT} = "Yes" ]
+	if [ "${NOPROMPT}" = "Yes" ]
 	then
 		prompt=
 	fi
@@ -173,7 +173,7 @@ do_stop ()
 			# "ejected" state even after reboot
 			MESSAGE="Please remove the USB flash drive"
 
-			if [ ${NOPROMPT} = "usb" ]
+			if [ "${NOPROMPT}" = "usb" ]
 			then
 				prompt=
 			fi

-- 
live-boot



More information about the debian-live-changes mailing list