The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=9dda51f13cd85791c0f18782461219f5a88e2d67

commit 9dda51f13cd85791c0f18782461219f5a88e2d67
Author:     Mark Johnston <[email protected]>
AuthorDate: 2025-12-14 15:47:06 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2025-12-14 15:47:06 +0000

    rc.subr: Use the variable we defined to invoke setaudit(8)
    
    Reported by:    gtetlow
    Fixes:          39ee24182b92 ("rc.subr: Support setting the audit user when 
starting services")
    MFC after:      1 week
---
 libexec/rc/rc.subr | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr
index 5199a915297d..101c69e93cde 100644
--- a/libexec/rc/rc.subr
+++ b/libexec/rc/rc.subr
@@ -1161,7 +1161,7 @@ run_rc_command()
        fi
        _setauditcmd=
        if [ -n "$_audit_user" ]; then
-               _setauditcmd="setaudit -U -a $_audit_user"
+               _setauditcmd="$SETAUDIT -U -a $_audit_user"
        fi
 
        # If a specific jail has a specific svcj request, honor it (YES/NO).

Reply via email to