diff options
| author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-30 00:03:24 +0200 |
|---|---|---|
| committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-30 00:03:24 +0200 |
| commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
| tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/446102-patch | |
| download | site-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz | |
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts,
and configuration files.
Diffstat (limited to 'web/attachments/446102-patch')
| -rw-r--r-- | web/attachments/446102-patch | 15 |
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 @@ | |||
| 1 | diff --git a/plugins/check_ping.c b/plugins/check_ping.c | ||
| 2 | index 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(""); | ||
