From: Vincent Bernat Date: Sun, 15 May 2016 19:14:13 +0000 (+0200) Subject: daemon: give the name of the control socket X-Git-Tag: 0.9.3~21 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba54dbd012530ca8d89d9dd7d92e7458c7f0be99;p=thirdparty%2Flldpd.git daemon: give the name of the control socket Otherwise, people have to enable debug to get the information. --- diff --git a/src/daemon/lldpd.c b/src/daemon/lldpd.c index 3a3c7248..da2e37a5 100644 --- a/src/daemon/lldpd.c +++ b/src/daemon/lldpd.c @@ -1660,7 +1660,7 @@ lldpd_main(int argc, char *argv[], char *envp[]) log_warn("main", "cannot determine if another daemon is already running"); fatalx("main", "giving up"); } - log_warn("main", "unable to create control socket"); + log_warn("main", "unable to create control socket at %s", ctlname); fatalx("main", "giving up"); } #ifdef ENABLE_PRIVSEP