summaryrefslogtreecommitdiffstats
path: root/web/attachments/80964-check_disk.patch.linux
diff options
context:
space:
mode:
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)