From: Mathieu Desnoyers Date: Mon, 27 Jan 2014 04:26:53 +0000 (-0500) Subject: Fix: relayd: add LPOLLERR to events X-Git-Tag: v2.3.2~11 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=60481d465d0c57beb350fd3b9222f8ee18b9e5f3;p=lttng-tools.git Fix: relayd: add LPOLLERR to events Same as session daemon. Signed-off-by: Mathieu Desnoyers Conflicts: (does not exists) src/bin/lttng-relayd/live.c --- diff --git a/src/bin/lttng-relayd/main.c b/src/bin/lttng-relayd/main.c index ba3641448..18b662c78 100644 --- a/src/bin/lttng-relayd/main.c +++ b/src/bin/lttng-relayd/main.c @@ -381,7 +381,7 @@ int create_thread_poll_set(struct lttng_poll_event *events, int size) } /* Add quit pipe */ - ret = lttng_poll_add(events, thread_quit_pipe[0], LPOLLIN); + ret = lttng_poll_add(events, thread_quit_pipe[0], LPOLLIN | LPOLLERR); if (ret < 0) { goto error; }