X-Git-Url: https://git.distorted.org.uk/~mdw/disorder/blobdiff_plain/498b46a291015cbf5204345cb3dbc15ba244b831..8d399b30271359fc8cea9992f1513a86b4db3348:/server/mount.c diff --git a/server/mount.c b/server/mount.c index 506b663..8b1c602 100644 --- a/server/mount.c +++ b/server/mount.c @@ -41,6 +41,8 @@ static int compare_fsstat(const void *av, const void *bv) { #endif void periodic_mount_check(ev_source *ev_) { + if(!config->mount_rescan) + return; #if HAVE_GETFSSTAT /* On OS X, we keep track of the hash of the kernel's mounted * filesystem list */