mirror of
https://github.com/SELinuxProject/selinux
synced 2024-12-24 15:02:44 +00:00
Fix bug in logger.
If you do not use auding, the syslog calls blows up because of this bug.
This commit is contained in:
parent
3c1d51c01a
commit
8d7f15a95a
@ -104,7 +104,7 @@ except:
|
||||
self.log_list=[]
|
||||
|
||||
def log(self, msg, name = "", sename = "", serole = "", serange = "", oldsename = "", oldserole = "", oldserange = ""):
|
||||
message += " %s name=%s" % (msg, name)
|
||||
message = " %s name=%s" % (msg, name)
|
||||
if sename != "":
|
||||
message += " sename=" + sename
|
||||
if oldsename != "":
|
||||
|
Loading…
Reference in New Issue
Block a user