From f982fc4ca835c6fd962322d4faf8ec45a1002d38 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Thu, 22 Jan 2009 17:21:02 +0100 Subject: [PATCH] Added missing variable quoting that lead to broken root persistence, thanks to Thierry Walrant (Closes: #512656). --- scripts/live-helpers | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.1.4