Op 29-11-18 om 12:33 schreef Herbert Xu:
Thanks for the report.  This patch should fix the problem:

Doesn't work for me, in fact it seems to make no difference.

Here are a few more test cases.

(trap '(! :) && echo BUG1' EXIT)
(trap '(false) && echo BUG2' EXIT)
(trap 'readonly foo=bar; (foo=baz) && echo BUG3' EXIT)
(trap '(set -o bad@option) && echo BUG4' EXIT)

- M.

Reply via email to