Commit 48e879a4 authored by Leigh Stoller's avatar Leigh Stoller

Fix "size too small" error so that it does not email tbops, it is

a user error.
parent ee5f241d
......@@ -279,8 +279,8 @@ sub DoCreate()
if ($size < 0) {
fatal("Could not parse size.");
}
if ($size <= 5) {
fatal("Size too small; minimum is 5MiB");
if ($size <= 4.5) {
UserError("Size too small; minimum is 5MB");
}
}
else {
......
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