summaryrefslogtreecommitdiffstats
path: root/rescue/restore-image.sh
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-11 15:29:45 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-11 15:29:45 +0000
commit89c3f7667e209f54c2bace2c67b9a4e143edadfd (patch)
tree7b9e00225591f9e233b4cefade9074851d749451 /rescue/restore-image.sh
parenteadc7b6bcb9240c3e11bdc946bea3c1cedd66642 (diff)
downloaddrakx-89c3f7667e209f54c2bace2c67b9a4e143edadfd.tar
drakx-89c3f7667e209f54c2bace2c67b9a4e143edadfd.tar.gz
drakx-89c3f7667e209f54c2bace2c67b9a4e143edadfd.tar.bz2
drakx-89c3f7667e209f54c2bace2c67b9a4e143edadfd.tar.xz
drakx-89c3f7667e209f54c2bace2c67b9a4e143edadfd.zip
reset win32_part_dev too
Diffstat (limited to 'rescue/restore-image.sh')
-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 a04eeb255..b42ed15b6 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -96,6 +96,7 @@ function detect_root()
devs_found=$(($(echo $devices | wc -w)/2))
root=
+ win32_part_dev=
# win32 detection won't handle complex layouts
if [ "${devs_found}" = 1 ]; then
root=$(detect_and_resize_win32 ${inst_source_dev})