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:
|
else:
|
||||||
logfile = open(self.config['mail_log_file'], 'r', encoding='utf-8')
|
logfile = open(self.config['mail_log_file'], 'r', encoding='utf-8')
|
||||||
for line in logfile:
|
for line in logfile:
|
||||||
if not self._process_log_file(line):
|
self._process_log_file(line)
|
||||||
sys.exit(1)
|
|
||||||
|
|
||||||
def _read_banned_ips(self):
|
def _read_banned_ips(self):
|
||||||
ips = {}
|
ips = {}
|
||||||
|
|
Loading…
Reference in a new issue