From b72b24711cacdb0267c29816a0fd1b96a90836b0 Mon Sep 17 00:00:00 2001 From: Marco Amadori Date: Mon, 24 Jan 2011 10:21:54 +0100 Subject: [PATCH] Protect NOPROMPT (Closes: #610941). --- debian/live-boot.init | 4 ++-- 1 file 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 -- 2.1.4