nagios-nrpe: fix expected return message of test mail
This commit is contained in:
parent
33f85b565c
commit
42c4a20b1f
|
@ -65,7 +65,7 @@ $smtp->close();
|
|||
|
||||
print "$result\n";
|
||||
|
||||
if ($result =~/2.7.0 Ok, discarded/) {
|
||||
if ($result =~/2.5.0 Ok, id=[^,]+, BOUNCE/) {
|
||||
print "OK - All fine\n";
|
||||
exit 0;
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue