summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-12 11:02:22 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-12 11:02:22 +0000
commit8558c425a79c803f01d51934c14dafbafd80ea84 (patch)
tree5db0e4f2112297ddb22d3d7ad071abf4d736617c /rescue
parentd7442a887f29cbf62db1930fa8d4f423be5ab60f (diff)
downloaddrakx-8558c425a79c803f01d51934c14dafbafd80ea84.tar
drakx-8558c425a79c803f01d51934c14dafbafd80ea84.tar.gz
drakx-8558c425a79c803f01d51934c14dafbafd80ea84.tar.bz2
drakx-8558c425a79c803f01d51934c14dafbafd80ea84.tar.xz
drakx-8558c425a79c803f01d51934c14dafbafd80ea84.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 d0f3c1f69..5d807c4ab 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -162,7 +162,7 @@ function write_image()
function expand_fs()
{
filesystem_type=$(dumpe2fs -h /dev/${root}1 2>/dev/null| grep "Filesystem OS type" | awk '{ print $4 }')
- if [ $filesystem_type = "Linux" ]; then
+ if [ "$filesystem_type" = "Linux" ]; then
dialog --backtitle "$BACKTITLE" --title "$TITLE" --infobox "Installing... Finishing Install..." 3 40
disk=/dev/$root
main_part=/dev/${root}1