summaryrefslogtreecommitdiffstats
path: root/rescue/restore-image.sh
diff options
context:
space:
mode:
Diffstat (limited to 'rescue/restore-image.sh')
-rwxr-xr-xrescue/restore-image.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/rescue/restore-image.sh b/rescue/restore-image.sh
index 4cf06c9e6..32eec242d 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -146,7 +146,7 @@ function detect_win32()
fi
# it might be needed, for safety
- device_type=$(vol_id --type ${device})
+ device_type=$(blkid -o value -s TYPE ${device})
modprobe ${device_type}
# df for that partition