summaryrefslogtreecommitdiffstats
path: root/web/attachments/240316-check_by_ssh.c.patch
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/240316-check_by_ssh.c.patch
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/240316-check_by_ssh.c.patch')
-rw-r--r--web/attachments/240316-check_by_ssh.c.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/web/attachments/240316-check_by_ssh.c.patch b/web/attachments/240316-check_by_ssh.c.patch
new file mode 100644
index 0000000..4f4982e
--- /dev/null
+++ b/web/attachments/240316-check_by_ssh.c.patch
@@ -0,0 +1,12 @@
1--- nagios-plugins-trunk-200708071200/plugins/check_by_ssh.c 2007-06-13 01:18:13.000000000 +0200
2+++ nagios-plugins-trunk-200708071200-check_by_ssh_patch/plugins/check_by_ssh.c 2007-08-07 20:31:57.000000000 +0200
3@@ -110,7 +110,8 @@
4 * Wrap up quickly and keep the tricks below */
5 if(!passive) {
6 if (chld_out.lines > skip_stdout)
7- puts (chld_out.line[skip_stdout]);
8+ for (i = skip_stdout; i < chld_out.lines; i++)
9+ puts (chld_out.line[i]);
10 else
11 printf (_("%s - check_by_ssh: Remote command '%s' returned status %d\n"),
12 state_text(result), remotecmd, result);