Fix: relayd: add LPOLLERR to events
[lttng-tools.git] / 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.023497 seconds and 4 git commands to generate.