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/80964-check_disk.patch.linux | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 web/attachments/80964-check_disk.patch.linux (limited to 'web/attachments/80964-check_disk.patch.linux') 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 @@ +--- check_disk.c 2004-03-22 16:54:43.000000000 +0000 ++++ ./nagios-plugins-1.3.1/plugins/check_disk.c 2003-07-11 07:03:47.000000000 +0100 +@@ -94,9 +94,8 @@ + + while (fgets (input_buffer, MAX_INPUT_BUFFER - 1, child_process)) { + +- if (index (input_buffer, '/') != input_buffer) { +- continue; +- } ++ if (!index (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