mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-23 22:42:06 +00:00
We were asked to open output file for append rather then write.
This commit is contained in:
parent
69129b4983
commit
f7d40d920c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user