aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/check_tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 41feb97f..b2066c7a 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -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;
}