Added missing variable quoting that lead to broken root persistence, thanks to Thierr...
authorDaniel Baumann <daniel@debian.org>
Thu, 22 Jan 2009 16:21:02 +0000 (17:21 +0100)
committerDaniel Baumann <daniel@debian.org>
Wed, 9 Mar 2011 16:48:03 +0000 (17:48 +0100)
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