Remove a redundant check against mypid (the check is done later, in
the "Take the appropriate action" section). Obtained from: the sysutils/pkill port
This commit is contained in:
parent
cdcabcc058
commit
15a643c5a9
@ -285,7 +285,7 @@ main(int argc, char **argv)
|
||||
}
|
||||
|
||||
for (i = 0, kp = plist; i < nproc; i++, kp++) {
|
||||
if ((kp->ki_flag & P_SYSTEM) != 0 || kp->ki_pid == mypid)
|
||||
if ((kp->ki_flag & P_SYSTEM) != 0)
|
||||
continue;
|
||||
|
||||
if (matchargs) {
|
||||
|
Loading…
Reference in New Issue
Block a user