diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-06-15 01:18:37 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-06-15 01:18:37 +0000 |
commit | b6f2d26d5b213fdd95fe8f3a8aaa9c02e181070c (patch) | |
tree | 3940e971a5fd11eb5754339ba24122db7dcdece3 /bin/ksh/c_test.c | |
parent | ed796a820653ef1e6c63e0bae7a6f19bbff18fbb (diff) |
patches from pdksh 5.2.13.11
Diffstat (limited to 'bin/ksh/c_test.c')
-rw-r--r-- | bin/ksh/c_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/ksh/c_test.c b/bin/ksh/c_test.c index 49654f344f9..8ea1b4c94b7 100644 --- a/bin/ksh/c_test.c +++ b/bin/ksh/c_test.c @@ -1,4 +1,4 @@ -/* $OpenBSD: c_test.c,v 1.5 1998/06/25 19:01:47 millert Exp $ */ +/* $OpenBSD: c_test.c,v 1.6 1999/06/15 01:18:33 millert Exp $ */ /* * test(1); version 7-like -- author Erik Baalbergen @@ -365,8 +365,8 @@ test_eval(te, op, opnd1, opnd2, do_eval) { long v1, v2; - if (!evaluate(opnd1, &v1, TRUE) - || !evaluate(opnd2, &v2, TRUE)) + if (!evaluate(opnd1, &v1, KSH_RETURN_ERROR) + || !evaluate(opnd2, &v2, KSH_RETURN_ERROR)) { /* error already printed.. */ te->flags |= TEF_ERROR; |