mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-02-25 13:27:25 +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;
|
return 1;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
create_domain(source, policy);
|
create_domain(source, &policydb);
|
||||||
if (add_rule(source, target, class, perm, &policydb)) {
|
if (add_rule(source, target, class, perm, &policydb)) {
|
||||||
fprintf(stderr, "Could not add rule\n");
|
fprintf(stderr, "Could not add rule\n");
|
||||||
return 1;
|
return 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user