sbase

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

commit 75994567c363c102d5b88d3e71f154a35a87ad18
parent f047068713379ea12b9639dd1a3a34b1a2c33438
Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date:   Mon Apr 20 23:28:21 +0200

expr: fix, first parse then enfshut

Diffstat:
expr.c | 6+++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/expr.c b/expr.c @@ -261,11 +261,15 @@ usage(void) int main(int argc, char *argv[]) { + int ret; + ARGBEGIN { default: usage(); } ARGEND; + ret = !parse(argv, argc); enfshut(3, stdout, "<stdout>"); - return !parse(argv, argc); + + return ret; }