projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for -a and -o not working as second argument on command line.
[unix-history]
/
bin
/
test
/
test.c
diff --git
a/bin/test/test.c
b/bin/test/test.c
index
90d0ee8
..
66d8638
100644
(file)
--- a/
bin/test/test.c
+++ b/
bin/test/test.c
@@
-153,7
+153,7
@@
main(argc, argv)
ret_val = posix_unary_op(&argv[1]);
if (ret_val >= 0)
return (!ret_val);
ret_val = posix_unary_op(&argv[1]);
if (ret_val >= 0)
return (!ret_val);
- } else {
+ } else
if (lookup_op(argv[2], andor_op) < 0)
{
ret_val = posix_binary_op(&argv[1]);
if (ret_val >= 0)
return (ret_val);
ret_val = posix_binary_op(&argv[1]);
if (ret_val >= 0)
return (ret_val);