blob: f66ea3399e02875b600989fc6ad1a0dd6bb753b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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)
|