mirror of
https://github.com/opnsense/src.git
synced 2026-04-22 23:02:02 -04:00
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
eb6d801134
commit
5def7269c2
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue