diff options
-rw-r--r-- | plugins/check_disk.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c index a333a8b5..f67f3d57 100644 --- a/plugins/check_disk.c +++ b/plugins/check_disk.c | |||
@@ -217,6 +217,9 @@ int main(int argc, char **argv) { | |||
217 | printf("Group of %s: %s\n", path->name, path->group); | 217 | printf("Group of %s: %s\n", path->name, path->group); |
218 | } | 218 | } |
219 | 219 | ||
220 | // reset disk result | ||
221 | disk_result = STATE_UNKNOWN; | ||
222 | |||
220 | struct mount_entry *mount_entry = path->best_match; | 223 | struct mount_entry *mount_entry = path->best_match; |
221 | 224 | ||
222 | if (!mount_entry) { | 225 | if (!mount_entry) { |