summaryrefslogtreecommitdiffstats
path: root/web/attachments/446102-patch
diff options
context:
space:
mode:
Diffstat (limited to 'web/attachments/446102-patch')
-rw-r--r--web/attachments/446102-patch15
1 files changed, 15 insertions, 0 deletions
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 @@
1diff --git a/plugins/check_ping.c b/plugins/check_ping.c
2index 1367e90..bfdee49 100644
3--- a/plugins/check_ping.c
4+++ b/plugins/check_ping.c
5@@ -500,9 +500,7 @@ run_ping (const char *cmd, const char *addr)
6 (void) fclose (child_stderr);
7
8
9- /* close the pipe - WARNING if status is set */
10- if (spclose (child_process))
11- result = max_state (result, STATE_WARNING);
12+ spclose (child_process);
13
14 if (warn_text == NULL)
15 warn_text = strdup("");