summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-03-13 05:29:56 +0000
committerKarl DeBisschop <kdebisschop@users.sourceforge.net>2003-03-13 05:29:56 +0000
commit57ff135a842dacdd076d0bc729980b2990008ccb (patch)
tree60752bc641a457ad817653155d9fc19ff9c08497 /plugins
parent46892f0d7c1c196e09ebc59478b50b44e2ac0ee5 (diff)
downloadmonitoring-plugins-57ff135a842dacdd076d0bc729980b2990008ccb.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/branches/release-1.3.0@414 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins')
-rw-r--r--plugins/negate.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/negate.c b/plugins/negate.c
index 1603342b..0b0018f2 100644
--- a/plugins/negate.c
+++ b/plugins/negate.c
@@ -234,10 +234,10 @@ process_arguments (int argc, char **argv)
234 234
235 while (1) { 235 while (1) {
236#ifdef HAVE_GETOPT_H 236#ifdef HAVE_GETOPT_H
237 c = getopt_long (argc, argv, "hVt:", 237 c = getopt_long (argc, argv, "+hVt:",
238 long_options, &option_index); 238 long_options, &option_index);
239#else 239#else
240 c = getopt (argc, argv, "hVt:"); 240 c = getopt (argc, argv, "+hVt:");
241#endif 241#endif
242 if (c == -1 || c == EOF) 242 if (c == -1 || c == EOF)
243 break; 243 break;