opnsense-src/bin/pkill
Mark Johnston e1a3b7ff9f pkill tests: Fix pkill usage in the pkill -x test
The target process name(s) mark the beginning of the command's
positional parameters, so the -P filter wasn't getting applied as
intended.  As a result, the second "pkill -x sleep -P $$" would kill all
sleep(1) processes in the system, which can cause problems when running
tests in parallel.

MFC after:	2 weeks

(cherry picked from commit 57b09e470dbd84d1491a8972cf504b25e788a6c3)
2025-04-06 13:54:03 +00:00
..
tests pkill tests: Fix pkill usage in the pkill -x test 2025-04-06 13:54:03 +00:00
Makefile Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
Makefile.depend Remove $FreeBSD$: one-line sh pattern 2023-08-16 11:55:03 -06:00
pkill.1 Remove $FreeBSD$: two-line nroff pattern 2023-08-16 11:55:10 -06:00
pkill.c Remove $FreeBSD$: one-line .c pattern 2023-08-16 11:54:42 -06:00