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:
gad 2004-03-26 01:30:15 +00:00
parent cdcabcc058
commit 15a643c5a9

View File

@ -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) {