sbase

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

commit a845bc8bc356f4fe28563446a205ac265beb8f4a
parent 3fe111e5d5e0b1d83a9803a76de6006660d674bc
Author: FRIGN <dev@frign.de>
Date:   Wed Sep 30 19:24:25 +0200

Check for size == 0 in split(1)

Diffstat:
split.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':