]> git.ipfire.org Git - thirdparty/lldpd.git/commit
daemon: invoke lldpcli after dropping privileges
authorVincent Bernat <vincent@bernat.im>
Wed, 28 Sep 2016 20:43:48 +0000 (22:43 +0200)
committerVincent Bernat <vincent@bernat.im>
Wed, 28 Sep 2016 20:43:48 +0000 (22:43 +0200)
commitbc0dc45598d9051644e2d3948e66d050d3c54c37
tree4794b833793d3d40bb764569fffdf14bbc9c4cb1
parent06d83d0fb35c220d932e74d09e9b2dc0d1264de5
daemon: invoke lldpcli after dropping privileges

We don't need to run it as root. Moreover, it will happen after
daemonization and won't clutter the screen in case lldpd dies too
early. On the other hand, if we fail to spawn it, the error message may
be hidden in the logs. Though choice.
NEWS
src/daemon/lldpd.c