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…
Reference in New Issue
Block a user