--- check_disk.c.orig 2005-02-11 17:37:48.254928480 +0300 +++ check_disk.c 2005-02-11 17:37:44.193545904 +0300 @@ -118,8 +118,11 @@ if (strcmp (file_system, "none") == 0) strncpy (file_system, mntp, MAX_INPUT_BUFFER-1); - if (disk_result==STATE_OK && erronly && !verbose) + /* FIX: If everything is ok set result */ + if (disk_result==STATE_OK && erronly && !verbose) { + result = max_state (result, disk_result); continue; + } if (disk_result!=STATE_OK || verbose>=0) asprintf (&output, "%s [%.0f kB (%d%%) free on %s]", output,