aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--plugins/check_disk.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/check_disk.c b/plugins/check_disk.c
index 47dc0adc..04d588fb 100644
--- a/plugins/check_disk.c
+++ b/plugins/check_disk.c
@@ -263,11 +263,11 @@ main (int argc, char **argv)
} else if (fs_include_list && !np_find_name (fs_include_list, me->me_type)) {
continue;
}
-
- stat_path(path);
- get_fs_usage (me->me_mountdir, me->me_devname, &fsp);
}
+ stat_path(path);
+ get_fs_usage (me->me_mountdir, me->me_devname, &fsp);
+
if (fsp.fsu_blocks && strcmp ("none", me->me_mountdir)) {
get_stats (path, &fsp);