mirror of
https://github.com/webmin/webmin.git
synced 2026-05-25 15:40:30 +01:00
Handle case where no flag is set https://sourceforge.net/tracker/?func=detail&atid=117457&aid=3602166&group_id=17457
This commit is contained in:
@@ -467,7 +467,7 @@ while(<FDISK>) {
|
||||
$disk->{'cylsize'};
|
||||
push(@{$disk->{'parts'}}, $part);
|
||||
}
|
||||
elsif (/^\s*(\d+)\s+(\d+)cyl\s+(\d+)cyl\s+(\d+)cyl\s+(\S+)\s+(\S+)\s+(\S+)/) {
|
||||
elsif (/^\s*(\d+)\s+(\d+)cyl\s+(\d+)cyl\s+(\d+)cyl\s+(\S+)\s+(\S+)\s+(\S*)/) {
|
||||
# Partition within the current disk from parted (gpt format)
|
||||
local $part = { 'number' => $1,
|
||||
'device' => $disk->{'device'}.$1,
|
||||
|
||||
Reference in New Issue
Block a user