Fix: add missing error output
[lttng-tools.git] / src / bin / lttng / commands / disable_events.c
index b238b9d60ed42c38c447be06d823a2278db32678..c3a0f1da9abd7a91874b13ff74bdab0d2902b157 100644 (file)
@@ -126,7 +126,7 @@ static int disable_events(char *session_name)
        if (opt_disable_all) {
                ret = lttng_disable_event(handle, NULL, channel_name);
                if (ret < 0) {
-                       /* Don't set ret so lttng can interpret the sessiond error. */
+                       ERR("%s", lttng_strerror(ret));
                        goto error;
                }
 
This page took 0.024608 seconds and 4 git commands to generate.