summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkira TAGOH <akira@tagoh.org>2014-04-10 19:27:55 +0900
committerAkira TAGOH <akira@tagoh.org>2014-04-10 19:27:55 +0900
commitf44157c809d280e2a0ce87fb078fc4b278d24a67 (patch)
treed390662903e12714e5ff5c7ed3b04d069d1a2118
parent91784eb7d0c9f9f357210f4c82555469da37334a (diff)
Fix fc-cache fail with -r
Do not unlink the cache even if --really-force is given. because re-scanning process expects the cache exists. https://bugs.freedesktop.org/show_bug.cgi?id=77252
-rw-r--r--fc-cache/fc-cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fc-cache/fc-cache.c b/fc-cache/fc-cache.c
index 99e0e9f..90ebad3 100644
--- a/fc-cache/fc-cache.c
+++ b/fc-cache/fc-cache.c
@@ -388,7 +388,7 @@ main (int argc, char **argv)
list = FcStrListCreate (updateDirs);
if (list)
{
- ret += scanDirs (list, config, FcTrue, really_force, verbose, FcFalse, &changed, NULL);
+ ret += scanDirs (list, config, FcTrue, FcFalse, verbose, FcFalse, &changed, NULL);
FcStrListDone (list);
}
FcStrSetDestroy (updateDirs);