Fix: enable event with different loglevel error
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 43caabf933f7ae747b96051ef11efe31f748dd8b..28b761dc58c149e4292493ef87d0f207792df2b4 100644 (file)
@@ -645,7 +645,7 @@ 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) {
        ret = ustctl_create_event(app->sock, &ua_event->attr, ua_chan->obj,
                        &ua_event->obj);
        if (ret < 0) {
-               if (ret == -EEXIST) {
+               if (ret == -EEXIST || ret == -EPERM) {
                        ret = 0;
                        goto error;
                }
                        ret = 0;
                        goto error;
                }
This page took 0.023203 seconds and 4 git commands to generate.