summaryrefslogtreecommitdiffstats
path: root/web/attachments/80964-check_disk.patch.linux
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-09-29 22:03:24 (GMT)
commit0b6423f9c99d9edf8c96fefd0f6c453859395aa1 (patch)
tree1c2b6b21704a294940f87c7892676998d8371707 /web/attachments/80964-check_disk.patch.linux
downloadsite-0b6423f9c99d9edf8c96fefd0f6c453859395aa1.tar.gz
Import Nagios Plugins site
Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files.
Diffstat (limited to 'web/attachments/80964-check_disk.patch.linux')
-rw-r--r--web/attachments/80964-check_disk.patch.linux14
1 files changed, 14 insertions, 0 deletions
diff --git a/web/attachments/80964-check_disk.patch.linux b/web/attachments/80964-check_disk.patch.linux
new file mode 100644
index 0000000..f66ea33
--- /dev/null
+++ b/web/attachments/80964-check_disk.patch.linux
@@ -0,0 +1,14 @@
1--- check_disk.c 2004-03-22 16:54:43.000000000 +0000
2+++ ./nagios-plugins-1.3.1/plugins/check_disk.c 2003-07-11 07:03:47.000000000 +0100
3@@ -94,9 +94,8 @@
4
5 while (fgets (input_buffer, MAX_INPUT_BUFFER - 1, child_process)) {
6
7- if (index (input_buffer, '/') != input_buffer) {
8- continue;
9- }
10+ if (!index (input_buffer, '/'))
11+ continue;
12
13 /* Fixes AIX /proc fs which lists - for size values */
14 if (strstr (input_buffer, "/proc ") == input_buffer)