summaryrefslogtreecommitdiffstats
path: root/rescue/restore-image.sh
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-02-11 15:45:15 +0000
committerOlivier Blin <oblin@mandriva.com>2009-02-11 15:45:15 +0000
commit15895b7c5a7fc11ffd38ce594aade206e64daa27 (patch)
tree23c5bd1fe7a2e52d9df0a3bc48d67f06c0817375 /rescue/restore-image.sh
parent6a2f28243ea9f8c84e78771ab2fca88b3f904545 (diff)
downloaddrakx-15895b7c5a7fc11ffd38ce594aade206e64daa27.tar
drakx-15895b7c5a7fc11ffd38ce594aade206e64daa27.tar.gz
drakx-15895b7c5a7fc11ffd38ce594aade206e64daa27.tar.bz2
drakx-15895b7c5a7fc11ffd38ce594aade206e64daa27.tar.xz
drakx-15895b7c5a7fc11ffd38ce594aade206e64daa27.zip
use local skip_dev variable
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 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