Implement snapshot commands in lttng-sessiond
[lttng-tools.git] / src / bin / lttng / commands / snapshot.c
index 866b55a38549c3e0cc41cc179a9b3b2ae4d089a2..cc0dd9629d4d37902a7f6603313b89671ea9584a 100644 (file)
@@ -460,6 +460,9 @@ int cmd_snapshot(int argc, const char **argv)
 
        ret = handle_command(poptGetArgs(pc));
        if (ret < 0) {
+               if (ret == -LTTNG_ERR_EPERM) {
+                       ERR("The session needs to be set in no output mode (--no-output)");
+               }
                ERR("%s", lttng_strerror(ret));
                goto end;
        }
This page took 0.022618 seconds and 4 git commands to generate.