summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4ad2c31)
raw | patch | inline | side by side (parent: 4ad2c31)
author | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 29 Jan 2003 04:28:37 +0000 (04:28 +0000) | ||
committer | Ton Voon <tonvoon@users.sourceforge.net> | |
Wed, 29 Jan 2003 04:28:37 +0000 (04:28 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@262 f882894a-f735-0410-b71e-b25c423dba1c
plugins/check_vsz.c | patch | blob | history |
diff --git a/plugins/check_vsz.c b/plugins/check_vsz.c
index 767abf4fd6d4d3be28dfaeaebad1cb72e879210c..e6132a0f5836725c3496d45558434ecebc9caee6 100644 (file)
--- a/plugins/check_vsz.c
+++ b/plugins/check_vsz.c
char proc_name[MAX_INPUT_BUFFER];
char *message = "";
- if (!process_arguments (argc, argv)) {
+ if (process_arguments (argc, argv) == ERROR) {
printf ("%s: failure parsing arguments\n", progname);
print_help (progname);
return STATE_UNKNOWN;
switch (c) {
case '?': /* help */
- printf ("%s: Unknown argument: %s\n\n", progname, optarg);
print_usage (progname);
exit (STATE_UNKNOWN);
case 'h': /* help */