projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng: Indicate file path and error reason when open_config fails
[lttng-tools.git]
/
src
/
bin
/
lttng
/
commands
/
create.cpp
diff --git
a/src/bin/lttng/commands/create.cpp
b/src/bin/lttng/commands/create.cpp
index dce13866f6dea7d2948149de093e49af65935bde..e1756c3d30a30c4449a641e5548391f58da9413e 100644
(file)
--- 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) {
/* 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;
}
goto error;
}
This page took
0.048978 seconds
and
4
git commands to generate.