From 7ec9b8dec77b969bfc860995f96fe91fd40ba5e4 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Wed, 1 Jul 2015 02:22:36 +0200 Subject: [PATCH] fix a copy & paste bug Signed-off-by: John Crispin --- ubusd_acl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubusd_acl.c b/ubusd_acl.c index 3c16114..4d047b7 100644 --- a/ubusd_acl.c +++ b/ubusd_acl.c @@ -100,7 +100,7 @@ ubusd_acl_check(struct ubus_client *cl, const char *obj, struct blob_attr *cur; int rem; - if (!cl->gid && !cl->gid) + if (!cl->gid && !cl->uid) return 0; acl = avl_find_ge_element(&ubusd_acls, obj, acl, avl); -- 2.11.0