summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2025-12-14 15:47:06 +0000
committerMark Johnston <markj@FreeBSD.org>2025-12-14 15:47:06 +0000
commit9dda51f13cd85791c0f18782461219f5a88e2d67 (patch)
tree481f1033d160782c8213f9ff886d0f952f90d697 /libexec
parent9734ca05b9b481ae4f812ee39338782e7c2c1dda (diff)
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
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rc/rc.subr2
1 files changed, 1 insertions, 1 deletions
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).