Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 01 Oct 2017 06:30:50 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-rc@FreeBSD.org
Subject:   [Bug 216115] service -e showing sendmail enabled when it is not
Message-ID:  <bug-216115-4805-SPXLfDKeMI@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-216115-4805@https.bugs.freebsd.org/bugzilla/>
References:  <bug-216115-4805@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D216115

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

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-216115-4805-SPXLfDKeMI>