On Sun, Feb 17, 2019 at 8:23 PM Chet Ramey <chet.ra...@case.edu> wrote:
> Thanks for the report. I'll fix it in the next devel branch push.

One more corner case, only shows up when bash is started by `login`:

$ set +m; exec /
-bash: /: Is a directory
-bash: exec: /: cannot execute: Is a directory
$ echo "$(ps -o pid,tpgid -p $$)"
  PID TPGID
57430 57429      # 57429 is the login process
$ set -m; $(:)
-bash: child setpgid (57437 to 57430): Operation not permitted

Reply via email to