From 15895b7c5a7fc11ffd38ce594aade206e64daa27 Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Wed, 11 Feb 2009 15:45:15 +0000 Subject: use local skip_dev variable --- 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 c6543430e..084cd97b3 100755 --- a/rescue/restore-image.sh +++ b/rescue/restore-image.sh @@ -137,7 +137,7 @@ function detect_win32() # get the last created windows partition information set -f - device=$(fdisk -l | grep "^/dev/" | grep -v ${inst_source_dev} | grep -e "FAT\|NTFS\|HPFS" | tail -1 | sed 's/ .*$//') + device=$(fdisk -l | grep "^/dev/" | grep -v ${skip_dev} | grep -e "FAT\|NTFS\|HPFS" | tail -1 | sed 's/ .*$//') set +f if [ -z "${device}" ]; then -- cgit v1.2.1