summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2009-01-22 17:21:02 +0100
committerDaniel Baumann <daniel@debian.org>2011-03-09 17:48:03 +0100
commitc85c0817670de8313325ab25c74bfff64a3349e3 (patch)
treee6f2b36a9bbe711ff01755c93a819b13c1eeca8b /scripts
parentc6e3f250dd26f951f32a34a18e7153a7a5d340a9 (diff)
downloadlive-boot-c85c0817670de8313325ab25c74bfff64a3349e3.tar.gz
live-boot-c85c0817670de8313325ab25c74bfff64a3349e3.zip
Added missing variable quoting that lead to broken root persistence, thanks to Thierry Walrant <debian.tgc@walrant.net> (Closes: #512656).
Diffstat (limited to 'scripts')
-rw-r--r--scripts/live-helpers2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/live-helpers b/scripts/live-helpers
index adb56b7..8875248 100644
--- a/scripts/live-helpers
+++ b/scripts/live-helpers
@@ -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