From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/240316-check_by_ssh.c.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 web/attachments/240316-check_by_ssh.c.patch (limited to 'web/attachments/240316-check_by_ssh.c.patch') 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 @@ +--- nagios-plugins-trunk-200708071200/plugins/check_by_ssh.c 2007-06-13 01:18:13.000000000 +0200 ++++ nagios-plugins-trunk-200708071200-check_by_ssh_patch/plugins/check_by_ssh.c 2007-08-07 20:31:57.000000000 +0200 +@@ -110,7 +110,8 @@ + * Wrap up quickly and keep the tricks below */ + if(!passive) { + if (chld_out.lines > skip_stdout) +- puts (chld_out.line[skip_stdout]); ++ for (i = skip_stdout; i < chld_out.lines; i++) ++ puts (chld_out.line[i]); + else + printf (_("%s - check_by_ssh: Remote command '%s' returned status %d\n"), + state_text(result), remotecmd, result); -- cgit v1.2.3-74-g34f1