From e8b2bd4d47817b592c294d02a5dfaf2b81c6f31f Mon Sep 17 00:00:00 2001 From: Bernhard Reutner-Fischer Date: Wed, 6 Jun 2007 19:27:58 +0000 Subject: [PATCH] - fix wrong not operator which was essentially ignored. got introduced in r18282 http://busybox.net/lists/busybox/2007-June/027652.html --- coreutils/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) 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];