aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_smtp.c
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2005-01-01 16:15:39 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2005-01-01 16:15:39 +0000
commit187f86275426bfb501c7180c48161e1e22af1ef7 (patch)
tree085f3155f6ccc6f569adc8c94e5e0bebd941f2d4 /plugins/check_smtp.c
parent1ba1388efa77636edcea0d973f97341d5f7620b1 (diff)
downloadmonitoring-plugins-187f86275426bfb501c7180c48161e1e22af1ef7.tar.gz
Removed old terminate function (Bug 1093491)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1074 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_smtp.c')
-rw-r--r--plugins/check_smtp.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/check_smtp.c b/plugins/check_smtp.c
index f4a11e01..3b0e4694 100644
--- a/plugins/check_smtp.c
+++ b/plugins/check_smtp.c
@@ -453,8 +453,7 @@ process_arguments (int argc, char **argv)
days_till_exp = atoi (optarg);
check_cert = TRUE;
#else
- terminate (STATE_UNKNOWN,
- "SSL support not available. Install OpenSSL and recompile.");
+ usage (_("SSL support not available - install OpenSSL and recompile"));
#endif
break;
case '4':