live-boot syntax errors at shutdown
Hello
In similar fashion to a previous report[1] and fix[2], live-boot.init
generates more syntax errors at shutdown.
[1]: http://lists.debian.org/debian-live/2011/01/msg00162.html
[2]: http://live.debian.net/gitweb?p=live-boot.git;a=commitdiff;h=b72b24711cacdb0267c29816a0fd1b96a90836b0
-- Philip
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
Reply to: