]> git.ipfire.org Git - thirdparty/lldpd.git/commit
event: fix monitoring of the monitor process on Illuminos
authorVincent Bernat <vincent@bernat.ch>
Mon, 13 Sep 2021 17:45:38 +0000 (19:45 +0200)
committerVincent Bernat <vincent@bernat.ch>
Mon, 13 Sep 2021 17:45:38 +0000 (19:45 +0200)
commit7d60750c53b9b119af71f7f7d562b025a9ba1c95
tree68eec0bab171519322eb4d777ba7c5ec67444f3f
parent4ed0cd5ceab3258a2b5b66a877f1bb40fd94a022
event: fix monitoring of the monitor process on Illuminos

Using read(0) will return 0 on Illuminos, even if there is no data.
Request at least one byte. I hope I don't break something else by
doing that.
src/daemon/event.c