From 27b8183de2f2bfd7411c14c1ec28543ca8a36602 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Fri, 27 Oct 2017 15:32:26 -0500 Subject: log as supervise-daemon not the service --- src/rc/supervise-daemon.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3