summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-06-06 19:30:12 +0000
committerBernhard Reutner-Fischer2007-06-06 19:30:12 +0000
commitc3eb33731d90559dfe8ed0bc43ab43e24bca96c5 (patch)
tree016677c6b4264c0f8bce8b2bd7547a56c5d180e6 /coreutils
parent8a37a2a352d9a814e7d399b61bebb158cd34539f (diff)
downloadbusybox-c3eb33731d90559dfe8ed0bc43ab43e24bca96c5.zip
busybox-c3eb33731d90559dfe8ed0bc43ab43e24bca96c5.tar.gz
- pull r18758 from trunk: fix wrong not operator which was essentially ignored.
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/test.c b/coreutils/test.c
index fd10e68..a09f7e6 100644
--- a/coreutils/test.c
+++ b/coreutils/test.c
@@ -227,7 +227,7 @@ int bb_test(int argc, char **argv)
t_lex(argv[2 + _off]);
if (t_wp_op && t_wp_op->op_type == BINOP) {
t_wp = &argv[1 + _off];
- return binop() == 0;
+ return binop() == 1;
}
}
t_wp = &argv[1];