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/446102-patch | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 web/attachments/446102-patch (limited to 'web/attachments/446102-patch') diff --git a/web/attachments/446102-patch b/web/attachments/446102-patch new file mode 100644 index 0000000..57fe747 --- /dev/null +++ b/web/attachments/446102-patch @@ -0,0 +1,15 @@ +diff --git a/plugins/check_ping.c b/plugins/check_ping.c +index 1367e90..bfdee49 100644 +--- a/plugins/check_ping.c ++++ b/plugins/check_ping.c +@@ -500,9 +500,7 @@ run_ping (const char *cmd, const char *addr) + (void) fclose (child_stderr); + + +- /* close the pipe - WARNING if status is set */ +- if (spclose (child_process)) +- result = max_state (result, STATE_WARNING); ++ spclose (child_process); + + if (warn_text == NULL) + warn_text = strdup(""); -- cgit v1.2.3-74-g34f1