Просмотр исходного кода

Removed old terminate function (Bug 1093491)

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1074 f882894a-f735-0410-b71e-b25c423dba1c
Ton Voon 21 лет назад
Родитель
Сommit
187f862754
1 измененных файлов с 1 добавлено и 2 удалено
  1. 1 2
      plugins/check_smtp.c

+ 1 - 2
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':