python/audit2allow/sepolgen-ifgen: add missing \n to error message

Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
Nicolas Iooss 2018-12-21 21:43:31 +01:00 committed by Petr Lautrbach
parent 33d7a761e5
commit c759912227

View file

@ -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()