diff options
-rw-r--r-- | plugins/check_tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c index 7b0f7f8a..1bbb05a3 100644 --- a/plugins/check_tcp.c +++ b/plugins/check_tcp.c @@ -238,7 +238,7 @@ main (int argc, char **argv) result = np_net_ssl_check_cert(days_till_exp_warn, days_till_exp_crit); } } - if(result != STATE_OK || check_cert == TRUE){ + if(result != STATE_OK){ np_net_ssl_cleanup(); if(sd) close(sd); return result; |