Commit 2b0d3d8a authored by Keith Packard's avatar Keith Packard
Browse files

Verbose message about cleaning directories was imprecise

Non-existent directories are now described as 'non-existent' instead of
parent 50124d1e
......@@ -267,7 +267,8 @@ cleanCacheDirectory (FcConfig *config, FcChar8 *dir, FcBool verbose)
if (access ((char *) dir, W_OK|X_OK) != 0)
if (verbose)
printf ("%s: not cleaning unwritable cache directory\n", dir);
printf ("%s: not cleaning %s cache directory\n", dir,
access ((char *) dir, F_OK) == 0 ? "unwritable" : "non-existent");
FcStrFree (dir_base);
return FcTrue;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment