summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarco Amadori <amadorim@vdavda.com>2011-01-24 10:21:54 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:59:21 +0100
commitb72b24711cacdb0267c29816a0fd1b96a90836b0 (patch)
tree8d1bef60bbcf5061da74ddd91952084b3ad6793c
parentf6d0dfe3ad529bb1754c7cce4e7e005eb1f76fbf (diff)
downloadlive-boot-b72b24711cacdb0267c29816a0fd1b96a90836b0.tar.gz
live-boot-b72b24711cacdb0267c29816a0fd1b96a90836b0.zip
Protect NOPROMPT (Closes: #610941).
-rw-r--r--debian/live-boot.init4
1 files changed, 2 insertions, 2 deletions
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