diff options
author | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-03-13 06:00:21 +0000 |
---|---|---|
committer | Karl DeBisschop <kdebisschop@users.sourceforge.net> | 2003-03-13 06:00:21 +0000 |
commit | ba477f3df87749e51a1ea9d7f5038755ae8201cb (patch) | |
tree | 90ac3604490e609f05b8f99a3810d58d72d11eeb | |
parent | 7a7d4d7193f75354af77d7461cbf202b8fc34bfa (diff) | |
download | monitoring-plugins-ba477f3df87749e51a1ea9d7f5038755ae8201cb.tar.gz |
negate must be POSIXly correct in handling options, else wrapped options get passed to it
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@416 f882894a-f735-0410-b71e-b25c423dba1c
-rw-r--r-- | plugins/negate.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/negate.c b/plugins/negate.c index 3e4c493e..c1c0bc57 100644 --- a/plugins/negate.c +++ b/plugins/negate.c | |||
@@ -226,7 +226,7 @@ process_arguments (int argc, char **argv) | |||
226 | }; | 226 | }; |
227 | 227 | ||
228 | while (1) { | 228 | while (1) { |
229 | c = getopt_long (argc, argv, "hVt:", | 229 | c = getopt_long (argc, argv, "+hVt:", |
230 | long_options, &option_index); | 230 | long_options, &option_index); |
231 | 231 | ||
232 | if (c == -1 || c == EOF) | 232 | if (c == -1 || c == EOF) |