sbase

suckless unix tools
git clone git://git.2f30.org/sbase
Log | Files | Refs | README | LICENSE

commit fe843056492c1133dfe3654c8d6c17c2b8d468c6
parent 8125e8829d87e83cb93528d5338b2179f3c76517
Author: FRIGN <dev@frign.de>
Date:   Wed, 30 Sep 2015 19:24:25 +0200

Check for size == 0 in split(1)

Diffstat:
Msplit.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/split.c b/split.c @@ -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':