Clean-up snapshot command error reporting
[lttng-tools.git] / src / bin / lttng / commands / snapshot.c
index 00aa5b790448e57d3a26d1b8f838bd51d6acf564..11cc2496a2b61e649661df782a8da66fc375b30b 100644 (file)
@@ -579,9 +579,6 @@ int cmd_snapshot(int argc, const char **argv)
        command_ret = handle_command(poptGetArgs(pc));
        if (command_ret) {
                switch (-command_ret) {
-               case LTTNG_ERR_EPERM:
-                       ERR("The session needs to be set in no output mode (--no-output)");
-                       break;
                case LTTNG_ERR_SNAPSHOT_NODATA:
                        WARN("%s", lttng_strerror(command_ret));
 
This page took 0.024718 seconds and 5 git commands to generate.