diff options
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r-- | plugins/check_smtp.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c index 56040ff2..753ea3e7 100644 --- a/plugins/check_smtp.c +++ b/plugins/check_smtp.c @@ -276,6 +276,7 @@ main (int argc, char **argv) # ifdef USE_OPENSSL if ( check_cert ) { result = np_net_ssl_check_cert(days_till_exp_warn, days_till_exp_crit); + smtp_quit(); my_close(); return result; } @@ -607,6 +608,7 @@ process_arguments (int argc, char **argv) days_till_exp_warn = atoi (optarg); } check_cert = TRUE; + ignore_send_quit_failure = TRUE; #else usage (_("SSL support not available - install OpenSSL and recompile")); #endif |