mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Fix display if no partition type
This commit is contained in:
@@ -639,7 +639,7 @@ foreach $d (&fdisk::list_disks_partitions()) {
|
||||
$skip{$p->{'device'}});
|
||||
local @st = &device_status($p->{'device'});
|
||||
next if (@st);
|
||||
$tag = &fdisk::tag_name($p->{'type'});
|
||||
$tag = $p->{'type'} ? &fdisk::tag_name($p->{'type'}) : undef;
|
||||
$p->{'blocks'} =~ s/\+$//;
|
||||
push(@disks, [ $p->{'device'},
|
||||
$p->{'desc'}.
|
||||
|
||||
Reference in New Issue
Block a user