summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 3313951)
raw | patch | inline | side by side (parent: 3313951)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Sun, 16 Feb 2003 08:25:58 +0000 (08:25 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Sun, 16 Feb 2003 08:25:58 +0000 (08:25 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@327 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_nt.c | patch | blob | history |
diff --git a/plugins/check_nt.c b/plugins/check_nt.c
index 65c4e693adb4945cd0da4d6da15b963351fc32da..b9aae1c41329d7c1a5fc522dfb4640fc2aafa5ac 100644 (file)
--- a/plugins/check_nt.c
+++ b/plugins/check_nt.c
}
+ if (vars_to_check==CHECK_NONE)
+ return ERROR;
+
return OK;
}
void print_usage(void)
{
- printf("Usage: %s -H host [-p port] [-v variable] [-w warning] [-c critical] [-l params] [-d SHOWALL] [-t timeout]\n",progname);
+ printf("Usage: %s -H host -v variable [-p port] [-w warning] [-c critical] [-l params] [-d SHOWALL] [-t timeout]\n",progname);
}