fp = fopen(file_path, mode);
if (fp == NULL) {
- perror("config file");
goto error;
}
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;
}