mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-28 10:58:39 +00:00
Fix creating domain when adding rules
This commit is contained in:
parent
e8d062a95a
commit
6a9234e634
@ -287,7 +287,7 @@ int main(int argc, char **argv)
|
||||
return 1;
|
||||
}
|
||||
} else {
|
||||
create_domain(source, policy);
|
||||
create_domain(source, &policydb);
|
||||
if (add_rule(source, target, class, perm, &policydb)) {
|
||||
fprintf(stderr, "Could not add rule\n");
|
||||
return 1;
|
||||
|
Loading…
x
Reference in New Issue
Block a user