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";
|
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";
|
print "OK - All fine\n";
|
||||||
exit 0;
|
exit 0;
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue