diff mbox series

[2/4] python/audit2allow/sepolgen-ifgen: add missing \n to error message

Message ID 20181221204333.27445-2-nicolas.iooss@m4x.org (mailing list archive)
State Not Applicable
Headers show
Series [1/4] python/sepolgen: close /etc/selinux/sepolgen.conf after parsing it | expand

Commit Message

Nicolas Iooss Dec. 21, 2018, 8:43 p.m. UTC
Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
---
 python/audit2allow/sepolgen-ifgen | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/python/audit2allow/sepolgen-ifgen b/python/audit2allow/sepolgen-ifgen
index acf96384ee16..aa1ae8dc21d2 100644
--- a/python/audit2allow/sepolgen-ifgen
+++ b/python/audit2allow/sepolgen-ifgen
@@ -96,7 +96,7 @@  def get_attrs(policy_path):
     ret = subprocess.Popen([ATTR_HELPER, policy_path, outfile.name], stdout=fd).wait()
     fd.close()
     if ret != 0:
-        sys.stderr.write("could not run attribute helper")
+        sys.stderr.write("could not run attribute helper\n")
         return None
 
     attrs = interfaces.AttributeSet()