[PATCH 29/74] We were asked to open output file for append rather

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


   This patch looks good to me. acked.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEYEARECAAYFAlJpK24ACgkQrlYvE4MpobP5pwCfdQ+LPcLPL5u4WjFBhFdcrQ+v
14UAoNCOque27ZxeSpD2GvXPmwby0Ujs
=WpYp
-----END PGP SIGNATURE-----
>From a5f656526a54f5b17c32708eee95bb80c109d492 Mon Sep 17 00:00:00 2001
From: Dan Walsh <dwalsh@xxxxxxxxxx>
Date: Wed, 9 Oct 2013 17:13:36 -0400
Subject: [PATCH 29/74] 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 4d03c0f..49a342d 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)
-- 
1.8.3.1


[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux