remove exit if no matches in log
This commit is contained in:
parent
274f57575b
commit
6c68429bfc
1 changed files with 1 additions and 2 deletions
|
@ -42,8 +42,7 @@ class SmtpdWatcher:
|
|||
else:
|
||||
logfile = open(self.config['mail_log_file'], 'r', encoding='utf-8')
|
||||
for line in logfile:
|
||||
if not self._process_log_file(line):
|
||||
sys.exit(1)
|
||||
self._process_log_file(line)
|
||||
|
||||
def _read_banned_ips(self):
|
||||
ips = {}
|
||||
|
|
Loading…
Reference in a new issue