From fdcf78fb140d2916894386b193ba75389381a4d5 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Wed, 28 Sep 2016 23:02:12 +0200 Subject: [PATCH] daemon: make the message about going into background more apparent Otherwise, people may think that lldpd just crashed. --- src/daemon/lldpd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index 4a04cc94..5de44c9e 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -1700,7 +1700,7 @@ lldpd_main(int argc, char *argv[], char *envp[]) !lldpd_started_by_upstart() && !lldpd_started_by_systemd()) { int pid; char *spid; - log_debug("main", "daemonize"); + log_info("main", "going into background"); if (daemon(0, 0) != 0) fatal("main", "failed to detach daemon"); if ((pid = open(pidfile, -- 2.39.5