diff options
Diffstat (limited to 'dselect/methods/disk/setup')
-rwxr-xr-x | dselect/methods/disk/setup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dselect/methods/disk/setup b/dselect/methods/disk/setup index 4d1f2ddaa..9eac8f7d7 100755 --- a/dselect/methods/disk/setup +++ b/dselect/methods/disk/setup @@ -96,7 +96,7 @@ getblockdev () { set -e proposeddevice="$tryblockdevice" perl -ne ' next unless /^ *Device +Boot +Start +End +Blocks +Id +System *$/i .. !/\S/; -next unless s:^/\S+:: && $& eq $ENV{"proposeddevice"}; +next unless s:^/\S+:: && $& eq $ENV{proposeddevice}; next unless s/^ +(\* +)?\d+ +\d+ +\d+\+? +//; next unless m/^([0-9a-f]{1,2}) /i; %types= ( "1","msdos", "4","msdos", "6","msdos", "7","hpfs", "80","minix", |