[Bug 193116] pgrep -f init doesn't show pid = 1, but pgrep -af init does

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Sep 1 03:54:32 UTC 2014


--- Comment #3 from Garrett Cooper <ngie at FreeBSD.org> ---
(In reply to Garrett Cooper from comment #2)
> (In reply to Jilles Tjoelker from comment #1)
> > This was deliberately changed in SVN r192242, which excludes the pkill
> > process itself and its ancestors, unless -a is given. Do you think a special
> > case should be added here, or r192242 should be reverted? Note that the main
> > sshd process may somewhat similarly be an ancestor (or not, even if the user
> > is logged in via ssh).
> I agree with bryan about the change for pkill, but it would be nice if pgrep
> defaulted to the old behavior :/.


You are receiving this mail because:
You are the assignee for the bug.

More information about the freebsd-bugs mailing list