On Wed, Jan 10, 2024 at 5:33 PM Grisha Levit <grishale...@gmail.com> wrote: > I'm not sure this is fixed. In all versions, including 4.2 [...] > > $ bash -m -c 'trap /usr/bin/true DEBUG; :|:' > bash: child setpgid (49581 to 49579): Operation not permitted
Correction, versions prior to 4.3 did not respect the -m flag at invocation, so the command should be: bash -c 'set -m; trap /usr/bin/true DEBUG; :|:'