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.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins/check_by_ssh.c b/plugins/check_by_ssh.c
index d9fe26e5..7080c695 100644
--- a/plugins/check_by_ssh.c
+++ b/plugins/check_by_ssh.c
@@ -308,7 +308,7 @@ process_arguments (int argc, char **argv)
308 asprintf (&remotecmd, "%s;echo STATUS CODE: $?;", remotecmd); 308 asprintf (&remotecmd, "%s;echo STATUS CODE: $?;", remotecmd);
309 309
310 if (remotecmd == NULL || strlen (remotecmd) <= 1) 310 if (remotecmd == NULL || strlen (remotecmd) <= 1)
311 usage (_("No remotecmd\n")); 311 usage4 (_("No remotecmd"));
312 312
313 asprintf (&comm, "%s %s '%s'", comm, hostname, remotecmd); 313 asprintf (&comm, "%s %s '%s'", comm, hostname, remotecmd);
314 314
@@ -409,9 +409,10 @@ $ cat /tmp/foo\n\
409void 409void
410print_usage (void) 410print_usage (void)
411{ 411{
412 printf (_("\n\ 412 printf ("\n\
413Usage: %s [-f46] [-t timeout] [-i identity] [-l user] -H <host> \n\ 413Usage: %s [-f46] [-t timeout] [-i identity] [-l user] -H <host> \n\
414 -C <command> [-n name] [-s servicelist] [-O outputfile] [-p port]\n"), 414 -C <command> [-n name] [-s servicelist] [-O outputfile] [-p port]\n",
415 progname); 415 progname);
416
416 printf (_(UT_HLP_VRS), progname, progname); 417 printf (_(UT_HLP_VRS), progname, progname);
417} 418}