[Bug 263774] service pf reload does not check that pf is running
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 May 2026 12:08:39 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263774
Dag-Erling Smørgrav <des@FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |des@FreeBSD.org
--- Comment #2 from Dag-Erling Smørgrav <des@FreeBSD.org> ---
The correct idiom is `pfctl -sR >/dev/null 2>&1` (or `pfctl -s Running
>/dev/null 2>&1`) which will exit zero if pf is running and non-zero if not.
--
You are receiving this mail because:
You are the assignee for the bug.