From c9eb5a5a73c793b8bd1ed2d862e8630f0c2b1f2c Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 6 Mar 2012 10:40:41 +0100 Subject: [PATCH] Quoting noprompt variable in initscript to avoid syntax errors, thanks to Philip Newborough . --- debian/live-boot.init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/live-boot.init b/debian/live-boot.init index 5799c44..ab09d2a 100644 --- a/debian/live-boot.init +++ b/debian/live-boot.init @@ -200,7 +200,7 @@ do_stop () eject -p -m /live/image >/dev/null 2>&1 fi - if [ ${NOPROMPT} = "cd" ] + if [ "${NOPROMPT}" = "cd" ] then prompt= fi