mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
BF: simplify
This commit is contained in:
parent
86d3ee5373
commit
6224d761ab
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue