aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <ton.voon@opsera.com> 2011-07-15 21:19:15 +0100
committerGravatar Ton Voon <ton.voon@opsera.com> 2011-07-15 21:19:15 +0100
commit4d06603060fc1233861b164870f0d3a2e0d8d2eb (patch)
tree5fadde27f34daa4bb3641b8207af08f3f7fed483 /plugins/check_smtp.c
parente7f6da0211d1ee86f76ad5c3a36c6d58d53b1091 (diff)
downloadmonitoring-plugins-4d06603060fc1233861b164870f0d3a2e0d8d2eb.tar.gz
Fix check_smtp and check_tcp where duplicate messages were displayed for certificate errors (Opsview team)
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r--plugins/check_smtp.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index 6c5994c0..494bc2cd 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -276,9 +276,6 @@ main (int argc, char **argv)
# ifdef USE_OPENSSL
if ( check_cert ) {
result = np_net_ssl_check_cert(days_till_exp);
- if(result != STATE_OK){
- printf ("%s\n", _("CRITICAL - Cannot retrieve server certificate."));
- }
my_close();
return result;
}