diff --git a/libexec/rc/rc.subr b/libexec/rc/rc.subr index 9eead30790e..2380d1aeabc 100644 --- a/libexec/rc/rc.subr +++ b/libexec/rc/rc.subr @@ -1658,7 +1658,7 @@ _run_rc_offcmd() if [ -n "$_env" ]; then eval "export -- $_env" fi - debug "run_rc_command: ${rc_arg}_offcmd: $_offcmd $rc_extra_args" + debug "run_rc_command: ${name}_offcmd: $_offcmd $rc_extra_args" eval "$_offcmd $rc_extra_args" _return=$? fi