mirror of
https://github.com/webmin/webmin.git
synced 2026-05-04 22:30:33 +01:00
Filesystem sizes are in kb
This commit is contained in:
@@ -307,7 +307,7 @@ if (&has_command("zpool")) {
|
||||
my @out = &backquote_command("zpool list -p");
|
||||
foreach my $l (@out) {
|
||||
if (/^(\S+)\s+(\d+)\s+(\d+)\s+(\d+)/) {
|
||||
$zpools{$1} = [ $2, $4 ];
|
||||
$zpools{$1} = [ $2 / 1024, $4 / 1024 ];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user