Commit 7bdbdf44 authored by Leigh Stoller's avatar Leigh Stoller

Watch for datasets less then 1mebi, return error.

parent f760de1d
......@@ -231,6 +231,9 @@ sub DoCreate()
if ($size < 0) {
fatal("Could not parse size.");
}
if ($size <= 1) {
fatal("Size too small, try a little bigger");
}
}
else {
&$usage();
......
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