Signed-off-by: David Goulet <david.goulet@polymtl.ca>
/* Connect to the session daemon */
ret = lttng_connect_sessiond();
if (ret < 0) {
/* Connect to the session daemon */
ret = lttng_connect_sessiond();
if (ret < 0) {
- ERR("%s", lttng_get_readable_code(ret));
goto end;
}
if (opt_list_apps) {
ret = process_opt_list_apps();
if (ret < 0) {
goto end;
}
if (opt_list_apps) {
ret = process_opt_list_apps();
if (ret < 0) {
- ERR("%s", lttng_get_readable_code(ret));
+ ERR("%s", lttng_get_readable_code(ret));