diff options
Diffstat (limited to 'src/fccache.c')
-rw-r--r-- | src/fccache.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fccache.c b/src/fccache.c index 27b12827..049d8e83 100644 --- a/src/fccache.c +++ b/src/fccache.c @@ -746,6 +746,8 @@ FcCacheTimeValid (FcConfig *config, FcCache *cache, struct stat *dir_stat) struct stat dir_static; FcBool fnano = FcTrue; + if (!FcConfigIsCacheUpdatedOnLoad (config)) + return FcTrue; if (!dir_stat) { const FcChar8 *sysroot = FcConfigGetSysRoot (config); |