commit: 27b8183de2f2bfd7411c14c1ec28543ca8a36602 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:33:47 2017 +0000 URL: https://gitweb.gentoo.org/proj/openrc.git/commit/?id=27b8183d
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)