I know this isn't high priority, but it's really just a one-line change.
I don't know how but I've tracked down the "where", at least:
I think in pgrep.c
797:if (strcmp (program_invocation_short_name, "pwait") == 0) {
must be updated to also check for pidwait, that should do it.
Workaround:
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: procps (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2057944
Title:
pid
This is the case for jammy - for numbat the pwait -> pidwait change has
happened upstream.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2057944
Title:
pidwait doesn't work. Instead behaves like pgr