diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-09-29 22:03:24 (GMT) |
commit | 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch) | |
tree | 1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/80965-check_disk.patch.macosx | |
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/80965-check_disk.patch.macosx')
-rw-r--r-- | web/attachments/80965-check_disk.patch.macosx | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/web/attachments/80965-check_disk.patch.macosx b/web/attachments/80965-check_disk.patch.macosx new file mode 100644 index 0000000..11965fd --- /dev/null +++ b/web/attachments/80965-check_disk.patch.macosx | |||
@@ -0,0 +1,15 @@ | |||
1 | --- check_disk.c Fri Jul 11 07:03:47 2003 | ||
2 | +++ /tmp/check_disk.c Mon Mar 22 16:57:34 2004 | ||
3 | @@ -94,8 +94,9 @@ | ||
4 | |||
5 | while (fgets (input_buffer, MAX_INPUT_BUFFER - 1, child_process)) { | ||
6 | |||
7 | - if (!index (input_buffer, '/')) | ||
8 | - continue; | ||
9 | + if (index (input_buffer, '/') != input_buffer) { | ||
10 | + continue; | ||
11 | + } | ||
12 | |||
13 | /* Fixes AIX /proc fs which lists - for size values */ | ||
14 | if (strstr (input_buffer, "/proc ") == input_buffer) | ||
15 | |||