Filesystem sizes are in kb

This commit is contained in:
Jamie Cameron
2015-10-31 12:49:14 -07:00
parent b01b4dd734
commit 9c7e8bd721

View File

@@ -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 ];
}
}
}