Fix: relayd: add LPOLLERR to events
[lttng-tools.git] / src / bin / lttng-relayd / main.c
index 86bad26b3d5c028bcdf2a2f8dffbc4859a8fe2ba..62e149ed2cbdaf574968cbbe93659c48c8907db3 100644 (file)
@@ -616,7 +616,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.02441 seconds and 4 git commands to generate.