opnsense-src/bin/pkill
Mark Johnston 57b09e470d 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
2025-03-20 02:52:49 +00:00
..
tests pkill tests: Fix pkill usage in the pkill -x test 2025-03-20 02:52:49 +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 bin: Automated cleanup of cdefs and other formatting 2023-11-26 22:23:59 -07:00