diff options
Diffstat (limited to 'src/firejail/main.c')
-rw-r--r-- | src/firejail/main.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/main.c b/src/firejail/main.c index 0d67c2a64..b4c9ee294 100644 --- a/src/firejail/main.c +++ b/src/firejail/main.c | |||
@@ -2000,12 +2000,14 @@ int main(int argc, char **argv, char **envp) { | |||
2000 | else if (strcmp(argv[i], "--private-tmp") == 0) { | 2000 | else if (strcmp(argv[i], "--private-tmp") == 0) { |
2001 | arg_private_tmp = 1; | 2001 | arg_private_tmp = 1; |
2002 | } | 2002 | } |
2003 | #ifdef HAVE_USERTMPFS | ||
2003 | else if (strcmp(argv[i], "--private-cache") == 0) { | 2004 | else if (strcmp(argv[i], "--private-cache") == 0) { |
2004 | if (checkcfg(CFG_PRIVATE_CACHE)) | 2005 | if (checkcfg(CFG_PRIVATE_CACHE)) |
2005 | arg_private_cache = 1; | 2006 | arg_private_cache = 1; |
2006 | else | 2007 | else |
2007 | exit_err_feature("private-cache"); | 2008 | exit_err_feature("private-cache"); |
2008 | } | 2009 | } |
2010 | #endif | ||
2009 | else if (strcmp(argv[i], "--private-cwd") == 0) { | 2011 | else if (strcmp(argv[i], "--private-cwd") == 0) { |
2010 | cfg.cwd = NULL; | 2012 | cfg.cwd = NULL; |
2011 | arg_private_cwd = 1; | 2013 | arg_private_cwd = 1; |