summaryrefslogtreecommitdiffstats
path: root/plugins/check_by_ssh.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r--plugins/check_by_ssh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index 49794cc..9500cb3 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -297,7 +297,7 @@ process_arguments (int argc, char **argv)
297 if (c <= argc) { 297 if (c <= argc) {
298 die (STATE_UNKNOWN, _("%s: You must provide a host name\n"), progname); 298 die (STATE_UNKNOWN, _("%s: You must provide a host name\n"), progname);
299 } else if (!is_host (argv[c])) 299 } else if (!is_host (argv[c]))
300 die (STATE_UNKNOWN, _("%s: Invalid host name %s\n"), progname, argv[c]); 300 die (STATE_UNKNOWN, "%s: %s %s\n", progname, _("Invalid host name"), argv[c]);
301 hostname = argv[c++]; 301 hostname = argv[c++];
302 } 302 }
303 303