Fix: unchecked return value in sessiond path configuration
[lttng-tools.git] / src / bin / lttng-sessiond / sessiond-config.c
index 0b540865667ec526f51001687b254a9d67c6e3a3..d514aefc75e8ba85639cf0f80a3e9f5ec54b51fd 100644 (file)
@@ -269,6 +269,9 @@ int sessiond_config_init(struct sessiond_config *config)
        } else {
                ret = config_set_paths_non_root(config);
        }
+       if (ret < 0) {
+               goto end;
+       }
 
        /* 32 bits consumerd path setup */
        ret = asprintf(&str, DEFAULT_USTCONSUMERD32_PATH,
This page took 0.026422 seconds and 5 git commands to generate.