prometheus: don't run exim tests if exim is not installed (#56145)
This commit is contained in:
parent
5a091076c0
commit
be945bc9e7
|
@ -74,6 +74,8 @@ def etckeeper(ctn):
|
|||
|
||||
|
||||
def exim(ctn):
|
||||
if not os.path.exists('/usr/sbin/exim'):
|
||||
return
|
||||
with open('/var/log/exim4/mainlog', 'rb') as fh:
|
||||
for line in fh.readlines():
|
||||
if b" ** " in line and not (
|
||||
|
|
Loading…
Reference in New Issue