Commit b6c56e60 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Minor bug fix.

parent e6bd0480
......@@ -262,7 +262,8 @@ sub DoCreate()
$size = $1;
}
elsif ($options{"s"} =~ /^(\d+)(\w+)$/) {
$size = Blockstore::ConvertToMebi($options{"s"});
# Converter wants upper case.
$size = Blockstore::ConvertToMebi(uc($options{"s"}));
if ($size < 0) {
fatal("Could not parse size.");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment