HomeFreeBSD

rc.subr: ensure run_rc_script return code is not masked by DebugOff

Description

rc.subr: ensure run_rc_script return code is not masked by DebugOff

Ensure that run_rc_script returns the true return code of the
rc command and not the return code of DebugOff

Reviewed by: sjg
Approved by: kp
MFC after: 1 week
Sponsored by: Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D46626

Details

Provenance
rcmAuthored on Sep 10 2024, 3:58 PM
Reviewer
sjg
Differential Revision
D46626: rc.subr: ensure run_rc_script return code is not masked by DebugOff
Parents
rG136b8134a4b5: if_ovpn tests: destroy an if_ovpn interface before it's been used
Branches
Unknown
Tags
Unknown