fix a copy & paste bug
Signed-off-by: John Crispin <blogic@openwrt.org>
This commit is contained in:
parent
ab1bffddb3
commit
7ec9b8dec7
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue