summaryrefslogtreecommitdiffstats
path: root/plugins/check_by_ssh.c
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 (GMT)
committerTon Voon <tonvoon@users.sourceforge.net>2004-11-24 00:46:40 (GMT)
commit0c1c9f51e2c33db04918d2aa322fd1f9a688979b (patch)
treec7956483bce0deb4b73ca3a6b9d0b7f2e97620db /plugins/check_by_ssh.c
parent589d4664919638bedd6e2e1710c323887d19584a (diff)
downloadmonitoring-plugins-0c1c9f51e2c33db04918d2aa322fd1f9a688979b.tar.gz
Making messages more consistent
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@930 f882894a-f735-0410-b71e-b25c423dba1c
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