This commit is contained in:
Pierre-Hugues Husson 2015-11-03 10:52:03 +01:00
parent d6cda9df0a
commit 51a5c3c664

View File

@ -344,7 +344,6 @@ int load_policy(char *filename, policydb_t *policydb, struct policy_file *pf) {
return 0;
}
int main(int argc, char **argv)
{
char *policy = NULL, *source = NULL, *target = NULL, *class = NULL, *perm = NULL;
@ -356,7 +355,6 @@ int main(int argc, char **argv)
FILE *fp;
int permissive_value = 0, noaudit = 0;
struct option long_options[] = {
{"attr", required_argument, NULL, 'a'},
{"source", required_argument, NULL, 's'},
@ -474,7 +472,6 @@ int main(int argc, char **argv)
outpf.type = PF_USE_STDIO;
outpf.fp = fp;
if (policydb_write(&policydb, &outpf)) {
fprintf(stderr, "Could not write policy\n");
return 1;