[Bug 216115] service -e showing sendmail enabled when it is not

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sun Oct 1 06:30:51 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216115

--- Comment #7 from Alex Kozlov <ak at FreeBSD.org> ---
Proper, actually tested patch:

Index: /etc/rc.subr
@@ -930,7 +930,8 @@
                else
                        _pidcmd='rc_pid=$(check_process '"$_procname
$command_interpreter"')'
                fi
-               if [ -n "$_pidcmd" ]; then
+               eval "$_pidcmd"
+               if [ -n "$rc_pid" ]; then
                        _keywords="${_keywords} status poll"
                fi
        fi

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


More information about the freebsd-rc mailing list