LTTng sessiond: fix ust app error handling
[lttng-tools.git] / lttng-sessiond / main.c
index 5755363c878d6e9c6663763b123c8839a9dc82ac..a40c3693452fd8a464b8121724eed1fe41572658 100644 (file)
@@ -2096,7 +2096,7 @@ static int cmd_enable_channel(struct ltt_session *session,
 
                /* Add channel to all registered applications */
                ret = ust_app_add_channel_all(usess, uchan);
-               if (ret != LTTCOMM_OK) {
+               if (ret != 0) {
                        goto error;
                }
 
This page took 0.031299 seconds and 4 git commands to generate.