diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-06 19:30:12 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-06-06 19:30:12 +0000 |
commit | c3eb33731d90559dfe8ed0bc43ab43e24bca96c5 (patch) | |
tree | 016677c6b4264c0f8bce8b2bd7547a56c5d180e6 | |
parent | 8a37a2a352d9a814e7d399b61bebb158cd34539f (diff) | |
download | busybox-w32-c3eb33731d90559dfe8ed0bc43ab43e24bca96c5.tar.gz busybox-w32-c3eb33731d90559dfe8ed0bc43ab43e24bca96c5.tar.bz2 busybox-w32-c3eb33731d90559dfe8ed0bc43ab43e24bca96c5.zip |
- pull r18758 from trunk: fix wrong not operator which was essentially ignored.
-rw-r--r-- | coreutils/test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/test.c b/coreutils/test.c index fd10e6845..a09f7e6ec 100644 --- a/coreutils/test.c +++ b/coreutils/test.c | |||
@@ -227,7 +227,7 @@ int bb_test(int argc, char **argv) | |||
227 | t_lex(argv[2 + _off]); | 227 | t_lex(argv[2 + _off]); |
228 | if (t_wp_op && t_wp_op->op_type == BINOP) { | 228 | if (t_wp_op && t_wp_op->op_type == BINOP) { |
229 | t_wp = &argv[1 + _off]; | 229 | t_wp = &argv[1 + _off]; |
230 | return binop() == 0; | 230 | return binop() == 1; |
231 | } | 231 | } |
232 | } | 232 | } |
233 | t_wp = &argv[1]; | 233 | t_wp = &argv[1]; |