summaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/check_tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_tcp.c b/plugins/check_tcp.c
index 7e47009..e502c0d 100644
--- a/plugins/check_tcp.c
+++ b/plugins/check_tcp.c
@@ -584,7 +584,7 @@ process_arguments (int argc, char **argv)
584 if (server_address == NULL) 584 if (server_address == NULL)
585 usage4 (_("You must provide a server address")); 585 usage4 (_("You must provide a server address"));
586 else if (server_address[0] != '/' && is_host (server_address) == FALSE) 586 else if (server_address[0] != '/' && is_host (server_address) == FALSE)
587 die (STATE_UNKNOWN, "%s %s - %s: %s\n", SERVICE, state_text(STATE_UNKNOWN), _("Invalid hostname, address or socket"), server_address); 587 die (STATE_CRITICAL, "%s %s - %s: %s\n", SERVICE, state_text(STATE_CRITICAL), _("Invalid hostname, address or socket"), server_address);
588 588
589 return TRUE; 589 return TRUE;
590} 590}