X-Git-Url: http://git.lttng.org./?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Fcreate.cpp;fp=src%2Fbin%2Flttng%2Fcommands%2Fcreate.cpp;h=e1756c3d30a30c4449a641e5548391f58da9413e;hb=dcffe9462d11f9de5b441b801da5b2b7ae42c79a;hp=dce13866f6dea7d2948149de093e49af65935bde;hpb=ac559d09a23994f9f52014b0efba3a3c566dcfea;p=lttng-tools.git diff --git a/src/bin/lttng/commands/create.cpp b/src/bin/lttng/commands/create.cpp index dce13866f..e1756c3d3 100644 --- a/src/bin/lttng/commands/create.cpp +++ b/src/bin/lttng/commands/create.cpp @@ -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; }