summaryrefslogtreecommitdiff
path: root/coreutils/test.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2007-06-06 19:27:58 +0000
committerBernhard Reutner-Fischer2007-06-06 19:27:58 +0000
commite8b2bd4d47817b592c294d02a5dfaf2b81c6f31f (patch)
tree65d1e3d695a3243620de5a1f08a872470abd39b2 /coreutils/test.c
parentae5a8aac26d0fdd77218bb2ce336aa5f5ce82f9d (diff)
downloadbusybox-e8b2bd4d47817b592c294d02a5dfaf2b81c6f31f.zip
busybox-e8b2bd4d47817b592c294d02a5dfaf2b81c6f31f.tar.gz
- fix wrong not operator which was essentially ignored. got introduced in r18282
http://busybox.net/lists/busybox/2007-June/027652.html
Diffstat (limited to 'coreutils/test.c')
-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];