projects
/
lttng-tools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
lttng-sessiond: do not call ustctl_register_done()
[lttng-tools.git]
/
lttng
/
conf.c
diff --git
a/lttng/conf.c
b/lttng/conf.c
index 5479a3cd016e740100d14198e210d45769da013d..7337d92cade22a4b143ad57932390cd5ad779cea 100644
(file)
--- a/
lttng/conf.c
+++ b/
lttng/conf.c
@@
-63,7
+63,6
@@
static FILE *open_config(char *path, const char *mode)
fp = fopen(file_path, mode);
if (fp == NULL) {
fp = fopen(file_path, mode);
if (fp == NULL) {
- perror("config file");
goto error;
}
goto error;
}
@@
-171,6
+170,7
@@
char *config_read_session_name(char *path)
fp = open_config(path, "r");
if (fp == NULL) {
ERR("Can't find valid lttng config %s/.lttngrc", path);
fp = open_config(path, "r");
if (fp == NULL) {
ERR("Can't find valid lttng config %s/.lttngrc", path);
+ MSG("Did you create a session? (lttng create <my_sesion>)");
goto error;
}
goto error;
}
This page took
0.041782 seconds
and
5
git commands to generate.