forked from evolix/ansible-roles
Merge remote-tracking branch 'origin/nagios-nrpe-amavis-update' into unstable
This commit is contained in:
commit
d457b25c4b
|
@ -65,7 +65,7 @@ $smtp->close();
|
|||
|
||||
print "$result\n";
|
||||
|
||||
if ($result =~/2.7.0 Ok, discarded, id=[^,]+ - INFECTED: Eicar-Test-Signature/) {
|
||||
if ($result =~/2.7.0 Ok, discarded, id=\S+ - INFECTED: Eicar-Signature/) {
|
||||
print "OK - All fine\n";
|
||||
exit 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue