[gnome-desktop] thumbnail: Only mount fontconfig cache if it exists



commit b87de7495160dbf48f01aa1ddb361fc2556ffd0c
Author: Tor Hedin Brønner <torhedinbronner gmail com>
Date:   Mon Feb 25 15:13:19 2019 +0100

    thumbnail: Only mount fontconfig cache if it exists

 libgnome-desktop/gnome-desktop-thumbnail-script.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/libgnome-desktop/gnome-desktop-thumbnail-script.c 
b/libgnome-desktop/gnome-desktop-thumbnail-script.c
index 9468b51c..0331cb3c 100644
--- a/libgnome-desktop/gnome-desktop-thumbnail-script.c
+++ b/libgnome-desktop/gnome-desktop-thumbnail-script.c
@@ -567,7 +567,7 @@ add_bwrap (GPtrArray   *array,
 
   /* fontconfig cache if necessary */
   if (!g_str_has_prefix (FONTCONFIG_CACHE_PATH, "/usr/"))
-    add_args (array, "--ro-bind", FONTCONFIG_CACHE_PATH, FONTCONFIG_CACHE_PATH, NULL);
+    add_args (array, "--ro-bind-try", FONTCONFIG_CACHE_PATH, FONTCONFIG_CACHE_PATH, NULL);
 
   add_args (array,
            "--proc", "/proc",


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]