summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-03-06 10:40:41 +0100
committerDaniel Baumann <daniel@debian.org>2012-03-06 10:40:41 +0100
commitc9eb5a5a73c793b8bd1ed2d862e8630f0c2b1f2c (patch)
treefd5fd8fe4e17615ecfd6e1ff5bf8e4b83cfbdb5c
parentf12da76bfe6fa2d134788541d7c74512a3ebb17a (diff)
downloadlive-boot-c9eb5a5a73c793b8bd1ed2d862e8630f0c2b1f2c.tar.gz
live-boot-c9eb5a5a73c793b8bd1ed2d862e8630f0c2b1f2c.zip
Quoting noprompt variable in initscript to avoid syntax errors, thanks to Philip Newborough <corenominal@corenominal.org>.
-rw-r--r--debian/live-boot.init2
1 files changed, 1 insertions, 1 deletions
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