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

View File

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