Fix: call lttng_poll_set_max_size before start threads
[lttng-tools.git] / src / bin / lttng-consumerd / lttng-consumerd.c
index b43e8f1503869c857889f85ba177fd95357ec9b6..7122d065e649aa41533d4319af9d88010d4b4890 100644 (file)
@@ -346,7 +346,10 @@ int main(int argc, char **argv)
        }
 
        /* Set up max poll set size */
-       lttng_poll_set_max_size();
+       if (lttng_poll_set_max_size()) {
+               retval = -1;
+               goto exit_init_data;
+       }
 
        if (*command_sock_path == '\0') {
                switch (opt_type) {
This page took 0.024242 seconds and 5 git commands to generate.