summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)