summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-11 15:29:11 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-11 15:29:11 +0000
commiteadc7b6bcb9240c3e11bdc946bea3c1cedd66642 (patch)
tree8982e32b9fa34e8a87b09f918054cab97faca2a9 /rescue
parentcc2c21174d29f07f96f44bb3a858f5eec3cb168f (diff)
downloaddrakx-backup-do-not-use-eadc7b6bcb9240c3e11bdc946bea3c1cedd66642.tar
drakx-backup-do-not-use-eadc7b6bcb9240c3e11bdc946bea3c1cedd66642.tar.gz
drakx-backup-do-not-use-eadc7b6bcb9240c3e11bdc946bea3c1cedd66642.tar.bz2
drakx-backup-do-not-use-eadc7b6bcb9240c3e11bdc946bea3c1cedd66642.tar.xz
drakx-backup-do-not-use-eadc7b6bcb9240c3e11bdc946bea3c1cedd66642.zip
make sure root is reset
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})