fix "unexpected operator" error when stopping live-boot
[live-boot-grml.git] / debian / live-boot-grml.init
index 5799c44..ab09d2a 100644 (file)
@@ -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