summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-11 14:22:02 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-11 14:22:02 +0000
commitea3d1d46d0537705ef5771bea985ed0cc63e45c2 (patch)
treef240277b39c2fba3f89f7348e40fd33282efb089 /rescue
parent32edfb0586bfb529616df3ac2b4135dbdacf503f (diff)
downloaddrakx-ea3d1d46d0537705ef5771bea985ed0cc63e45c2.tar
drakx-ea3d1d46d0537705ef5771bea985ed0cc63e45c2.tar.gz
drakx-ea3d1d46d0537705ef5771bea985ed0cc63e45c2.tar.bz2
drakx-ea3d1d46d0537705ef5771bea985ed0cc63e45c2.tar.xz
drakx-ea3d1d46d0537705ef5771bea985ed0cc63e45c2.zip
fix quoting
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/restore-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index ade481511..358dbffed 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -86,7 +86,7 @@ function detect_root()
dev=$(sed '\|'$restore_media'|!d;s/[0-9] .*$//;s/^.*\///' /proc/mounts)
devices=$(grep "^ .*[^0-9]$" < /proc/partitions | grep -v ${dev} | awk '$3 > '$MIN_DISKSIZE' { print $4,$3 }')
- if [ -z ${devices} ]; then
+ if [ -z "${devices}" ]; then
exit 1
fi