tests: Make test_per_application_leaks more robust
[lttng-tools.git] / src / bin / lttng / commands / create.cpp
index dce13866f6dea7d2948149de093e49af65935bde..e1756c3d30a30c4449a641e5548391f58da9413e 100644 (file)
@@ -479,7 +479,8 @@ static int create_session(const char *session_name)
        /* Init lttng session config */
        ret = config_init(created_session_name);
        if (ret < 0) {
-               ret = CMD_ERROR;
+               MSG("Unable to initialize configuration for created session: future commands will require the target session name explicitly");
+               ret = CMD_WARNING;
                goto error;
        }
 
This page took 0.025989 seconds and 4 git commands to generate.