diff options
author | 2020-08-04 11:50:40 +0200 | |
---|---|---|
committer | 2020-08-04 11:50:40 +0200 | |
commit | 102f8d1fdca62dd0ca0fb355c1ef926f2594b48b (patch) | |
tree | 06265134def04fac10177f00e63e5efb45fe02e6 /src | |
parent | Add profile for otter-browser (#3564) (diff) | |
download | firejail-102f8d1fdca62dd0ca0fb355c1ef926f2594b48b.tar.gz firejail-102f8d1fdca62dd0ca0fb355c1ef926f2594b48b.tar.zst firejail-102f8d1fdca62dd0ca0fb355c1ef926f2594b48b.zip |
Support to ingore a include foobar.inc
closes #1139
Diffstat (limited to 'src')
-rw-r--r-- | src/firejail/profile.c | 2 |
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 |