X-Git-Url: https://git.liburcu.org/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;fp=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=7006e8e101a7f2080c331ce8f91517762c5cec0e;hb=2e17663e4ecd31edfd3303c019d985cd459f28c7;hp=a6ea6b8c9c6c153375bac25c7b390466b830d01d;hpb=b325dc70f0a88cbe23e4f55517d87dec382a806f;p=lttng-tools.git diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index a6ea6b8c9..7006e8e10 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -588,6 +588,7 @@ static int list_sessions(const char *session_name) DBG("Session count %d", count); if (count < 0) { ret = count; + ERR("%s", lttng_strerror(ret)); goto error; } else if (count == 0) { MSG("Currently no available tracing session");