From 372859d8bf67f006d67a8a5a6c7003a06598c595 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Wed, 31 Mar 2004 22:53:25 +0000 Subject: [PATCH] Command line argument bug (Howard Wilkinson) git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@861 f882894a-f735-0410-b71e-b25c423dba1c --- plugins/check_nt.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/check_nt.c b/plugins/check_nt.c index 50bf9f0..605d479 100644 --- a/plugins/check_nt.c +++ b/plugins/check_nt.c @@ -180,7 +180,7 @@ int main(int argc, char **argv){ if (value_list==NULL) output_message = strdup (_("missing -l parameters")); - else if (strlen(value_list)==1) + else if (strlen(value_list)!=1) output_message = strdup (_("wrong -l argument")); else { asprintf(&send_buffer,"%s&4&%s", req_password, value_list); -- 2.30.2