Commit bebd2d95 authored by Thomas White's avatar Thomas White
Browse files

partialator: Check -j argument

parent e510238f
......@@ -356,6 +356,11 @@ int main(int argc, char *argv[])
}
if ( nthreads < 1 ) {
ERROR("Invalid number of threads.\n");
return 1;
}
/* Sanitise input filename and open */
if ( infile == NULL ) {
infile = strdup("-");
......
Supports Markdown
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