From: Vincent Bernat Date: Wed, 28 Sep 2016 21:02:12 +0000 (+0200) Subject: daemon: make the message about going into background more apparent X-Git-Tag: 0.9.5~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fdcf78fb140d2916894386b193ba75389381a4d5;p=thirdparty%2Flldpd.git daemon: make the message about going into background more apparent Otherwise, people may think that lldpd just crashed. --- 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,