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