aboutsummaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-03-31 22:53:25 +0000
committerGravatar Ton Voon <tonvoon@users.sourceforge.net> 2004-03-31 22:53:25 +0000
commit372859d8bf67f006d67a8a5a6c7003a06598c595 (patch)
tree1621fd8d0fcdbeceeb6c4fd72c69d9d262181fbc /plugins
parentf745ed4bc3263aa70d8f85d04fb2d2b35e9d555a (diff)
downloadmonitoring-plugins-372859d8bf67f006d67a8a5a6c7003a06598c595.tar.gz
Command line argument bug (Howard Wilkinson)
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@861 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 50bf9f03..605d4792 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);