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.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index e52bdc6e3..350122844 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -1589,7 +1589,6 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
1589 else if (strncmp(ptr, "noblacklist ", 12) == 0) 1589 else if (strncmp(ptr, "noblacklist ", 12) == 0)
1590 ptr += 12; 1590 ptr += 12;
1591 else if (strncmp(ptr, "whitelist ", 10) == 0) { 1591 else if (strncmp(ptr, "whitelist ", 10) == 0) {
1592#ifdef HAVE_WHITELIST
1593 if (checkcfg(CFG_WHITELIST)) { 1592 if (checkcfg(CFG_WHITELIST)) {
1594 arg_whitelist = 1; 1593 arg_whitelist = 1;
1595 ptr += 10; 1594 ptr += 10;
@@ -1602,9 +1601,6 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
1602 } 1601 }
1603 return 0; 1602 return 0;
1604 } 1603 }
1605#else
1606 return 0;
1607#endif
1608 } 1604 }
1609 else if (strncmp(ptr, "nowhitelist ", 12) == 0) 1605 else if (strncmp(ptr, "nowhitelist ", 12) == 0)
1610 ptr += 12; 1606 ptr += 12;