]> git.ipfire.org Git - thirdparty/lldpd.git/commit
daemon: check if started through systemd first
authorVincent Bernat <vincent@bernat.ch>
Mon, 3 Dec 2018 08:33:18 +0000 (09:33 +0100)
committerVincent Bernat <vincent@bernat.ch>
Mon, 3 Dec 2018 08:33:18 +0000 (09:33 +0100)
commit17f7469e20bb847b4102f4f3730b49504b3d5dbd
tree66d097ccbc3c7070f51181769f124abc912178b2
parentc041c3e86d56d5daa073895e887542aaf38a283f
daemon: check if started through systemd first

When running with `-d`, we may still need to send a notification to
systemd, even if we didn't plan to daemonize.

Fix #309.
src/daemon/lldpd.c