From 0b6423f9c99d9edf8c96fefd0f6c453859395aa1 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 30 Sep 2013 00:03:24 +0200 Subject: Import Nagios Plugins site Import the Nagios Plugins web site, Cronjobs, infrastructure scripts, and configuration files. --- web/attachments/80965-check_disk.patch.macosx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 web/attachments/80965-check_disk.patch.macosx (limited to 'web/attachments/80965-check_disk.patch.macosx') 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 @@ +--- check_disk.c Fri Jul 11 07:03:47 2003 ++++ /tmp/check_disk.c Mon Mar 22 16:57:34 2004 +@@ -94,8 +94,9 @@ + + while (fgets (input_buffer, MAX_INPUT_BUFFER - 1, child_process)) { + +- if (!index (input_buffer, '/')) +- continue; ++ if (index (input_buffer, '/') != input_buffer) { ++ continue; ++ } + + /* Fixes AIX /proc fs which lists - for size values */ + if (strstr (input_buffer, "/proc ") == input_buffer) + -- cgit v1.2.3-74-g34f1