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.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index 15cc1e55a..1403db704 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -614,6 +614,17 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
614 return 0; 614 return 0;
615 } 615 }
616 616
617 if (strncmp(ptr, "private-template ", 17) == 0) {
618 if (arg_private) {
619 fprintf(stderr, "Error: --private and --private-template are mutually exclusive\n");
620 exit(1);
621 }
622 cfg.private_template = ptr + 17;
623 fs_check_private_template();
624 arg_private_template = 1;
625
626 return 0;
627 }
617 // private /etc list of files and directories 628 // private /etc list of files and directories
618 if (strncmp(ptr, "private-etc ", 12) == 0) { 629 if (strncmp(ptr, "private-etc ", 12) == 0) {
619 if (arg_writable_etc) { 630 if (arg_writable_etc) {