diff options
author | José Bollo <jose.bollo@iot.bzh> | 2018-02-26 20:40:12 +0100 |
---|---|---|
committer | José Bollo <jose.bollo@iot.bzh> | 2018-02-26 20:40:12 +0100 |
commit | 05d815e2a9b849b864680ada5285b638e300a5b7 (patch) | |
tree | 8f9dc1743a219a90dbd71f734317ff27b7f8b135 | |
parent | 3e3a29fa49ec494800a4aa866d84fba4eaa8261b (diff) |
afs-supervisor: Fix supervisor deafness
Change-Id: I68fc2799d1789cbcf5516539ab2af3ecd9b61e56
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
-rw-r--r-- | src/afs-supervisor.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/afs-supervisor.c b/src/afs-supervisor.c index f58a1a05..bf05f8a7 100644 --- a/src/afs-supervisor.c +++ b/src/afs-supervisor.c @@ -429,6 +429,7 @@ static int init_supervisor() ERROR("handling socket event isn't possible"); return rc; } + fdev_set_events(supervision_fdev, EPOLLIN); fdev_set_callback(supervision_fdev, listening, (void*)(intptr_t)fd); return 0; |