aboutsummaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
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 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];