summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
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 6301eb5ed..a04eeb255 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -95,6 +95,7 @@ function detect_root()
devs_found=$(($(echo $devices | wc -w)/2))
+ root=
# win32 detection won't handle complex layouts
if [ "${devs_found}" = 1 ]; then
root=$(detect_and_resize_win32 ${inst_source_dev})