From b69de005c0af4ba87dc5e503d780522d72c8b8c1 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 11 Feb 2009 14:48:48 +0000 Subject: use win32_part_dev variable instead of testing file existence --- rescue/restore-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rescue/restore-image.sh') 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 -- cgit v1.2.1