expr: fix, first parse then enfshut
This commit is contained in:
parent
7be2449aa9
commit
ce145a39a7
6
expr.c
6
expr.c
|
@ -261,11 +261,15 @@ usage(void)
|
||||||
int
|
int
|
||||||
main(int argc, char *argv[])
|
main(int argc, char *argv[])
|
||||||
{
|
{
|
||||||
|
int ret;
|
||||||
|
|
||||||
ARGBEGIN {
|
ARGBEGIN {
|
||||||
default:
|
default:
|
||||||
usage();
|
usage();
|
||||||
} ARGEND;
|
} ARGEND;
|
||||||
|
|
||||||
|
ret = !parse(argv, argc);
|
||||||
enfshut(3, stdout, "<stdout>");
|
enfshut(3, stdout, "<stdout>");
|
||||||
return !parse(argv, argc);
|
|
||||||
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user