https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=215781
Jilles Tjoelker <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #2 from Jilles Tjoelker <[email protected]> --- Unless the -a option is used, pgrep and pkill do not find any ancestor processes. This is documented if you read the man page fully, but might be slightly unexpected. On the other hand, why use pgrep to find the current shell process? The commit message that added this (SVN r192242) states: "When finding processes, ignore ourself and our ancestors. It is almost always surprising when you kill a 'sh -c ...' ancestor or when you kill yourself when using -f." -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "[email protected]"
