Fix: relayd: add LPOLLERR to events
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Mon, 27 Jan 2014 04:26:53 +0000 (23:26 -0500)
committerDavid Goulet <dgoulet@efficios.com>
Tue, 4 Feb 2014 20:10:39 +0000 (15:10 -0500)
Same as session daemon.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Conflicts:
(does not exists) src/bin/lttng-relayd/live.c

src/bin/lttng-relayd/main.c

index ba364144838eff40a33e6a03d1763c10536915c8..18b662c780f7a986f29c4e977583a7020c4bf411 100644 (file)
@@ -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;
        }
This page took 0.02703 seconds and 4 git commands to generate.