summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-11 14:48:48 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-11 14:48:48 +0000
commitb69de005c0af4ba87dc5e503d780522d72c8b8c1 (patch)
tree333acd2fb48bd304bed4e7911ca40db1f530443c /rescue
parent48815493b6115693814ef20257d6b4dbc3ab6d85 (diff)
downloaddrakx-b69de005c0af4ba87dc5e503d780522d72c8b8c1.tar
drakx-b69de005c0af4ba87dc5e503d780522d72c8b8c1.tar.gz
drakx-b69de005c0af4ba87dc5e503d780522d72c8b8c1.tar.bz2
drakx-b69de005c0af4ba87dc5e503d780522d72c8b8c1.tar.xz
drakx-b69de005c0af4ba87dc5e503d780522d72c8b8c1.zip
use win32_part_dev variable instead of testing file existence
Diffstat (limited to 'rescue')
-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 a8539b290..f03831881 100755
--- a/rescue/restore-image.sh
+++ b/rescue/restore-image.sh
@@ -234,7 +234,7 @@ function write_image()
*) uncomp=cat ;;
esac
- if [ -s /tmp/fdisk.log ]; then
+ if [ -n "$win32_part_dev" ]; then
skipstart='dd of=/dev/null bs=1 count=32256 &>/dev/null;'
fi