summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-11-12 10:59:45 +0000
committerOlivier Blin <oblin@mandriva.com>2008-11-12 10:59:45 +0000
commitd7442a887f29cbf62db1930fa8d4f423be5ab60f (patch)
treee744dcc3fce303d77dee26739a5094ee63255ffc /rescue
parent2ef6b6dfc8a89a1a790603c088cdacb864054a4f (diff)
downloaddrakx-d7442a887f29cbf62db1930fa8d4f423be5ab60f.tar
drakx-d7442a887f29cbf62db1930fa8d4f423be5ab60f.tar.gz
drakx-d7442a887f29cbf62db1930fa8d4f423be5ab60f.tar.bz2
drakx-d7442a887f29cbf62db1930fa8d4f423be5ab60f.tar.xz
drakx-d7442a887f29cbf62db1930fa8d4f423be5ab60f.zip
really give a chance to retry (though, it will still go to the writing if nothing is detected)
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/restore-image.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index bf7a04215..d0f3c1f69 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -113,6 +113,7 @@ function write_image()
_msgbox "\nError writing image: disk device not detected.\n"
# so that netbooks using USB sticks as disks can retry (like Gdium)
welcome
+ root=$(detect_root)
fi
image=$(cat $images_dir/list | cut -d ',' -f 3)