ubusd: fix inverted check in ubusd_reply_add
Signed-off-by: Denis Osvald <denis.osvald@sartura.hr>
This commit is contained in:
parent
d6bb4f1a1d
commit
ba45b27f8c
1 changed files with 1 additions and 1 deletions
|
@ -434,7 +434,7 @@ ubusd_reply_add(struct ubus_object *obj)
|
|||
if (!acl->priv)
|
||||
continue;
|
||||
|
||||
if (!ubusd_acl_match_path(obj->path.key, acl->avl.key, NULL))
|
||||
if (ubusd_acl_match_path(obj->path.key, acl->avl.key, NULL))
|
||||
continue;
|
||||
|
||||
c = blobmsg_open_table(&b, NULL);
|
||||
|
|
Loading…
Reference in a new issue