fix a copy & paste bug

Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
John Crispin 2015-07-01 02:22:36 +02:00
parent ab1bffddb3
commit 7ec9b8dec7

View file

@ -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);