aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/profile.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r--src/firejail/profile.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index bc5915d46..db58d2e0b 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -225,7 +225,10 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
225 return 0; 225 return 0;
226 } 226 }
227 else if (strcmp(ptr, "private-cache") == 0) { 227 else if (strcmp(ptr, "private-cache") == 0) {
228 arg_private_cache = 1; 228 if (checkcfg(CFG_PRIVATE_CACHE))
229 arg_private_cache = 1;
230 else
231 warning_feature_disabled("private-cache");
229 return 0; 232 return 0;
230 } 233 }
231 else if (strcmp(ptr, "private-dev") == 0) { 234 else if (strcmp(ptr, "private-dev") == 0) {