diff options
author | Lorenz Kästle <12514511+RincewindsHat@users.noreply.github.com> | 2025-02-20 16:38:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-02-20 16:38:34 +0100 |
commit | a7b3bb968a2a8fae174d9e8e67f01e16cc0a8335 (patch) | |
tree | 2a140f3bf9d0b7f45017fc79d04a361fc4169847 /plugins | |
parent | 99a978b669cedb63e15b7df5b6ad81a9a63e9279 (diff) | |
parent | 0d0f4ee7e30dcd2c5f9f0c53400ed6b2a9bc14a2 (diff) | |
download | monitoring-plugins-a7b3bb968a2a8fae174d9e8e67f01e16cc0a8335.tar.gz |
Merge pull request #2065 from RincewindsHat/opttest_tool
Opttest tool
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/negate.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/negate.c b/plugins/negate.c index 7e52fe67..750c0bfb 100644 --- a/plugins/negate.c +++ b/plugins/negate.c | |||
@@ -133,11 +133,11 @@ static const char **process_arguments(int argc, char **argv) { | |||
133 | break; | 133 | break; |
134 | case 'h': /* help */ | 134 | case 'h': /* help */ |
135 | print_help(); | 135 | print_help(); |
136 | exit(EXIT_SUCCESS); | 136 | exit(STATE_UNKNOWN); |
137 | break; | 137 | break; |
138 | case 'V': /* version */ | 138 | case 'V': /* version */ |
139 | print_revision(progname, NP_VERSION); | 139 | print_revision(progname, NP_VERSION); |
140 | exit(EXIT_SUCCESS); | 140 | exit(STATE_UNKNOWN); |
141 | case 't': /* timeout period */ | 141 | case 't': /* timeout period */ |
142 | if (!is_integer(optarg)) | 142 | if (!is_integer(optarg)) |
143 | usage2(_("Timeout interval must be a positive integer"), optarg); | 143 | usage2(_("Timeout interval must be a positive integer"), optarg); |