mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-25 16:17:16 -04:00
1041571: -D option processing corrected (Eric Chen). Changed process_arguments() to return TRUE. Dont know why this was necessary.
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@995 f882894a-f735-0410-b71e-b25c423dba1c
This commit is contained in:
parent
edf60f6dce
commit
c6a18d714a
1 changed files with 2 additions and 2 deletions
|
|
@ -447,7 +447,7 @@ process_arguments (int argc, char **argv)
|
|||
}
|
||||
|
||||
while (1) {
|
||||
c = getopt_long (argc, argv, "+hVv46H:s:e:q:m:c:w:t:p:C:W:d:Sr:j:D",
|
||||
c = getopt_long (argc, argv, "+hVv46H:s:e:q:m:c:w:t:p:C:W:d:Sr:jD:",
|
||||
longopts, &option);
|
||||
|
||||
if (c == -1 || c == EOF || c == 1)
|
||||
|
|
@ -574,7 +574,7 @@ process_arguments (int argc, char **argv)
|
|||
if (server_address == NULL)
|
||||
usage (_("You must provide a server address\n"));
|
||||
|
||||
return OK;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue