Added missing variable quoting that lead to broken root persistence, thanks to Thierr...
[live-boot-grml.git] / scripts / live-helpers
index adb56b7..8875248 100644 (file)
@@ -206,7 +206,7 @@ setup_loop ()
                        dev=$(sys2dev "${loopdev}")
                        options=''
 
-                       if [ -n ${readonly} ]
+                       if [ -n "${readonly}" ]
                        then
                                if losetup --help 2>&1 | grep -q -- "-r\b"
                                then