From 53e78423bca5951695d8a7ba1e456444dd576376 Mon Sep 17 00:00:00 2001 From: smitsohu Date: Tue, 12 Nov 2019 15:08:18 +0100 Subject: private-cache warning messages - #2968 --- src/firejail/fs.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/firejail/fs.c b/src/firejail/fs.c index 3df551d4c..3e802efb5 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c @@ -1191,15 +1191,15 @@ void fs_private_cache(void) { // check if ~/.cache is a valid destination struct stat s; if (lstat(cache, &s) == -1) { - fwarning("cannot find %s, tmpfs not mounted\n", cache); + fwarning("skipping private-cache: cannot find %s\n", cache); free(cache); return; } if (!S_ISDIR(s.st_mode)) { if (S_ISLNK(s.st_mode)) - fwarning("%s is a symbolic link, tmpfs not mounted\n", cache); + fwarning("skipping private-cache: %s is a symbolic link\n", cache); else - fwarning("%s is not a directory; cannot mount a tmpfs on top of it\n", cache); + fwarning("skipping private-cache: %s is not a directory\n", cache); free(cache); return; } -- cgit v1.2.3-54-g00ecf