aboutsummaryrefslogtreecommitdiffstats
path: root/src/firejail/profile.c
diff options
context:
space:
mode:
authorLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-08-04 11:50:40 +0200
committerLibravatar rusty-snake <41237666+rusty-snake@users.noreply.github.com>2020-08-04 11:50:40 +0200
commit102f8d1fdca62dd0ca0fb355c1ef926f2594b48b (patch)
tree06265134def04fac10177f00e63e5efb45fe02e6 /src/firejail/profile.c
parentAdd profile for otter-browser (#3564) (diff)
downloadfirejail-102f8d1fdca62dd0ca0fb355c1ef926f2594b48b.tar.gz
firejail-102f8d1fdca62dd0ca0fb355c1ef926f2594b48b.tar.zst
firejail-102f8d1fdca62dd0ca0fb355c1ef926f2594b48b.zip
Support to ingore a include foobar.inc
closes #1139
Diffstat (limited to 'src/firejail/profile.c')
-rw-r--r--src/firejail/profile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index a87222824..70acd8a2a 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -1685,7 +1685,7 @@ void profile_read(const char *fname) {
1685 } 1685 }
1686 1686
1687 // process include 1687 // process include
1688 if (strncmp(ptr, "include ", 8) == 0) { 1688 if (strncmp(ptr, "include ", 8) == 0 && !is_in_ignore_list(ptr)) {
1689 include_level++; 1689 include_level++;
1690 1690
1691 // expand macros in front of the include profile file 1691 // expand macros in front of the include profile file