- fix wrong not operator which was essentially ignored. got introduced in r18282

http://busybox.net/lists/busybox/2007-June/027652.html
This commit is contained in:
Bernhard Reutner-Fischer 2007-06-06 19:27:58 +00:00
parent ae5a8aac26
commit e8b2bd4d47

View File

@ -227,7 +227,7 @@ int bb_test(int argc, char **argv)
t_lex(argv[2 + _off]); t_lex(argv[2 + _off]);
if (t_wp_op && t_wp_op->op_type == BINOP) { if (t_wp_op && t_wp_op->op_type == BINOP) {
t_wp = &argv[1 + _off]; t_wp = &argv[1 + _off];
return binop() == 0; return binop() == 1;
} }
} }
t_wp = &argv[1]; t_wp = &argv[1];