mirror of https://github.com/fail2ban/fail2ban
BF: simplify
parent
86d3ee5373
commit
6224d761ab
|
@ -359,7 +359,7 @@ class Action:
|
|||
#@staticmethod
|
||||
def executeCmd(realCmd):
|
||||
logSys.debug(realCmd)
|
||||
if realCmd is None or realCmd == "":
|
||||
if not realCmd:
|
||||
logSys.debug("Nothing to do")
|
||||
return True
|
||||
|
||||
|
|
Loading…
Reference in New Issue