Fix: enable event with different loglevel error
[lttng-tools.git] / src / bin / lttng-sessiond / ust-app.c
index 63b106ae43a2de504df24aff7e6a070000bb5045..956c5dafec34e9a550d08b6bb6468e472639524b 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.023767 seconds and 4 git commands to generate.