Fix: Don't set filter if enable event fails
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 8b1665a06568de2bc90a4a90e61b40e35af4800c..fc0d53787dd6a5d0ff2d8fe9faf5714bc2362951 100644 (file)
@@ -712,10 +712,6 @@ int create_ust_event(struct ust_app *app, struct ust_app_session *ua_sess,
        ret = ustctl_create_event(app->sock, &ua_event->attr, ua_chan->obj,
                        &ua_event->obj);
        if (ret < 0) {
-               if (ret == -EEXIST || ret == -EPERM) {
-                       ret = 0;
-                       goto error;
-               }
                ERR("Error ustctl create event %s for app pid: %d with ret %d",
                                ua_event->attr.name, app->pid, ret);
                goto error;
This page took 0.0263679999999999 seconds and 5 git commands to generate.