On busybox 1.26.0, 'eval' returns status 0 even if there is a syntax error.

$ ( eval '(' ) && echo false positive
./ash: eval: syntax error: unexpected end of file (expecting ")")
false positive

This behaviour does not occur in 1.25.1.

Thanks,

- M.
_______________________________________________
busybox mailing list
[email protected]
http://lists.busybox.net/mailman/listinfo/busybox

Reply via email to