mirror of
https://github.com/sheumann/hush.git
synced 2024-09-12 00:55:11 +00:00
- 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:
parent
ae5a8aac26
commit
e8b2bd4d47
@ -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];
|
||||||
|
Loading…
Reference in New Issue
Block a user