commit:     93e159ae8541b82fd5e1843f60dce135e2eb5517
Author:     William Hubbs <w.d.hubbs <AT> gmail <DOT> com>
AuthorDate: Fri Oct 27 20:32:26 2017 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> org>
CommitDate: Fri Oct 27 20:32:26 2017 +0000
URL:        https://gitweb.gentoo.org/proj/openrc.git/commit/?id=93e159ae

log as supervise-daemon not the service

 src/rc/supervise-daemon.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c
index 3c3d7c7e..bf27ad18 100644
--- a/src/rc/supervise-daemon.c
+++ b/src/rc/supervise-daemon.c
@@ -561,7 +561,7 @@ int main(int argc, char **argv)
        applet = basename_c(argv[0]);
        atexit(cleanup);
        svcname = getenv("RC_SVCNAME");
-       openlog(svcname, LOG_PID, LOG_DAEMON);
+       openlog(applet, LOG_PID, LOG_DAEMON);
 
        if ((tmp = getenv("SSD_NICELEVEL")))
                if (sscanf(tmp, "%d", &nicelevel) != 1)

Reply via email to