diff options
Diffstat (limited to 'plugins/check_disk.c')
-rw-r--r-- | plugins/check_disk.c | 6 |
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) | |||
263 | } else if (fs_include_list && !np_find_name (fs_include_list, me->me_type)) { | 263 | } else if (fs_include_list && !np_find_name (fs_include_list, me->me_type)) { |
264 | continue; | 264 | continue; |
265 | } | 265 | } |
266 | |||
267 | stat_path(path); | ||
268 | get_fs_usage (me->me_mountdir, me->me_devname, &fsp); | ||
269 | } | 266 | } |
270 | 267 | ||
268 | stat_path(path); | ||
269 | get_fs_usage (me->me_mountdir, me->me_devname, &fsp); | ||
270 | |||
271 | if (fsp.fsu_blocks && strcmp ("none", me->me_mountdir)) { | 271 | if (fsp.fsu_blocks && strcmp ("none", me->me_mountdir)) { |
272 | get_stats (path, &fsp); | 272 | get_stats (path, &fsp); |
273 | 273 | ||