Fix: check return of parse_template
[lttng-tools.git] / src / bin / lttng / commands / create.c
index 5fdcbe3d2b26302b5d25d1a2d3fed865354e6f3a..60f3d7c685b29e266bb94ae3c784fa338686a28f 100644 (file)
@@ -876,6 +876,9 @@ static int create_session(void)
                                &base_ctrl_url,
                                &base_data_url,
                                &base_shm_path);
+               if (ret) {
+                       goto error;
+               }
        }
 
        /* Option validation */
This page took 0.023933 seconds and 5 git commands to generate.