diff options
author | Olivier Blin <oblin@mandriva.com> | 2009-02-11 14:48:48 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2009-02-11 14:48:48 +0000 |
commit | b69de005c0af4ba87dc5e503d780522d72c8b8c1 (patch) | |
tree | 333acd2fb48bd304bed4e7911ca40db1f530443c | |
parent | 48815493b6115693814ef20257d6b4dbc3ab6d85 (diff) | |
download | drakx-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
-rwxr-xr-x | rescue/restore-image.sh | 2 |
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 |