summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xrescue/restore-image.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index 046ba10e0..10bde44e0 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -112,13 +112,13 @@ function detect_root()
root=$(echo ${devices} | cut -d ' ' -f 1)
fi
else
- root=$(resize_win32 $(echo ${devices} | cut -d ' ' -f 1))
+ root=$(detect_and_resize_win32 $(echo ${devices} | cut -d ' ' -f 1))
fi
echo "${root}"
}
-function resize_win32()
+function detect_and_resize_win32()
{
# from detect_root()
disk=${1}