fix "unexpected operator" error when stopping live-boot
authorEvgeni Golov <evgeni@grml.org>
Sun, 23 Aug 2015 09:43:46 +0000 (11:43 +0200)
committerEvgeni Golov <evgeni@grml.org>
Sun, 23 Aug 2015 09:43:56 +0000 (11:43 +0200)
Closes: LP#1315572

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