diff --git a/volcreate-logs b/volcreate-logs index f2a1ca3..9cf0307 100755 --- a/volcreate-logs +++ b/volcreate-logs @@ -298,7 +298,7 @@ sub create_volume { } # Create the volume. - my @command = ('-t', 'logs', $volume, $quota_kbytes, $mountpoint); + my @command = ('-t', 'logs', $volume, "${quota_kbytes}k", $mountpoint); if ($quiet) { unshift(@command, '-q'); } @@ -393,11 +393,6 @@ sub parse_log { warn "Unknown attribute on line $. ($key)\n"; next; } - if ($key eq 'quota') { - if ($value =~ /^\d+$/xms) { - $value = kbytes("${value}M"); - } - } $log{$key} = $value; } warn "Unterminated log group on line $.\n";