X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fbin%2Flttng%2Fcommands%2Flist.c;h=6677e4c4e1401767821cf62942b1ce146f3683c4;hb=8f3f773f82cf4ce088d7bee098b549b5567d77f8;hp=5429df4e2eacc9dbdc1c1b1186999046b3732309;hpb=ea5cbc00bc30274239a144a5ca614c4e1a57bc32;p=lttng-tools.git diff --git a/src/bin/lttng/commands/list.c b/src/bin/lttng/commands/list.c index 5429df4e2..6677e4c4e 100644 --- a/src/bin/lttng/commands/list.c +++ b/src/bin/lttng/commands/list.c @@ -593,6 +593,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");