mirror of
https://github.com/troglobit/finit.git
synced 2026-10-27 12:20:54 +00:00
Merge pull request #27 from westermo/wmo/2.4
Westermo fixes for UDP inetd services and more Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
commit
4b0f78c1b5
5 files changed
+65
-29
No files matched your search
+1
-1
@@ -128,7 +128,7 @@ static plugin_t plugin = {
|
||||
|
||||
PLUGIN_INIT(plugin_init)
|
||||
{
|
||||
pidfile_ctx.fd = inotify_init();
|
||||
pidfile_ctx.fd = inotify_init1(IN_NONBLOCK | IN_CLOEXEC);
|
||||
if (pidfile_ctx.fd < 0) {
|
||||
_pe("inotify_init()");
|
||||
return;
|
||||
|
||||
Reference in new issue
Block a user