From f7d40d920c5ab977164d0478ed6c861b594a86b1 Mon Sep 17 00:00:00 2001 From: Dan Walsh Date: Wed, 9 Oct 2013 17:13:36 -0400 Subject: [PATCH] We were asked to open output file for append rather then write. --- policycoreutils/audit2allow/audit2allow | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/policycoreutils/audit2allow/audit2allow b/policycoreutils/audit2allow/audit2allow index 4d03c0f7..49a342d8 100644 --- a/policycoreutils/audit2allow/audit2allow +++ b/policycoreutils/audit2allow/audit2allow @@ -329,7 +329,7 @@ class AuditToPolicy: g.set_module_name(self.__options.module) if self.__options.output: - fd = open(self.__options.output, "w") + fd = open(self.__options.output, "a") else: fd = sys.stdout writer.write(g.get_module(), fd)