aboutsummaryrefslogtreecommitdiff
path: root/plugins/check_by_ssh.c
diff options
context:
space:
mode:
authorGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-02 16:51:25 +0000
committerGravatar Benoit Mortier <opensides@users.sourceforge.net> 2004-12-02 16:51:25 +0000
commit234481163fc3caf0cb8b14f601f0f9f1458f97f5 (patch)
treee8debce30a2722f5f4dc5e33faf54c9915dd022f /plugins/check_by_ssh.c
parentdf1bd0c89ff63de64ee630e0025389651947020c (diff)
downloadmonitoring-plugins-234481163fc3caf0cb8b14f601f0f9f1458f97f5.tar.gz
More internationalization work
new usage4 function to permit localisation of think like check_ssh: xxxxx git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@979 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'plugins/check_by_ssh.c')
-rw-r--r--plugins/check_by_ssh.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index 20ae6283..f569731d 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -69,17 +69,14 @@ main (int argc, char **argv)
/* process arguments */
if (process_arguments (argc, argv) != TRUE)
- usage (_("check_by_ssh: could not parse arguments\n"));
-
+ usage4 (_("Could not parse arguments"));
/* Set signal handling and alarm timeout */
if (signal (SIGALRM, popen_timeout_alarm_handler) == SIG_ERR) {
- printf (_("Cannot catch SIGALRM"));
- return STATE_UNKNOWN;
+ usage4 (_(" Cannot catch SIGALRM"));
}
alarm (timeout_interval);
-
/* run the command */
if (verbose)