]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
When finding processes, ignore ourself and our ancestors. It is almost
authorbrian <brian@FreeBSD.org>
Sun, 17 May 2009 04:34:14 +0000 (04:34 +0000)
committerbrian <brian@FreeBSD.org>
Sun, 17 May 2009 04:34:14 +0000 (04:34 +0000)
commita99453c14c89f1e53f3b2534201d14e48d383228
treec9c86c3103509e8abeb99ce09f2d0c7cf8281f83
parentfc0e3714cc2074d023fc26424c13622c68f23546
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.

Add a -a switch for backwards compatibility.

MFC after: 3 weeks
bin/pkill/pkill.1
bin/pkill/pkill.c