[Bug 263774] service pf reload does not check that pf is running

[email protected] Thu, 28 May 2026 12:08:39 +0000
Newsgroups gmane.os.freebsd.devel.pf4freebsd
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D263774

Dag-Erling Sm=C3=B8rgrav <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #2 from Dag-Erling Sm=C3=B8rgrav <[email protected]> ---
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.

--=20
You are receiving this mail because:
You are the assignee for the bug.=