diff options
Diffstat (limited to 'rescue')
-rwxr-xr-x | rescue/restore-image.sh | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh index 084cd97b3..19a177104 100755 --- a/rescue/restore-image.sh +++ b/rescue/restore-image.sh @@ -164,9 +164,7 @@ function detect_win32() # our install takes half of 'left' win32_part_new_size=$(($((${used}+${avail}))*2)) - disk=${device%[0-9]} - number=$(echo ${device} | sed 's@/dev/...@@g') - echo "${disk}${number}" + echo ${win32_part_dev} | sed 's@/dev/@@' fi } |