If out file is not specified, assume outfile = policy
This commit is contained in:
parent
8eef2818fa
commit
0fd5a277ed
@ -192,6 +192,9 @@ int main(int argc, char **argv)
|
||||
if (((!source || !target || !class || !perm) && !permissive) || !policy)
|
||||
usage(argv[0]);
|
||||
|
||||
if(!outfile)
|
||||
outfile = policy;
|
||||
|
||||
sepol_set_policydb(&policydb);
|
||||
sepol_set_sidtab(&sidtab);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user