Check for size == 0 in split(1)

This commit is contained in:
FRIGN 2015-09-30 19:24:25 +02:00 committed by sin
parent 8125e8829d
commit fe84305649
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ main(int argc, char *argv[])
break; break;
case 'b': case 'b':
always = 1; always = 1;
if ((size = parseoffset(EARGF(usage()))) < 0) if ((size = parseoffset(EARGF(usage()))) <= 0)
return 1; return 1;
break; break;
case 'd': case 'd':