summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/profile.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index bc66aca78..26b915602 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -241,7 +241,9 @@ error:
241// return 1 if the command is to be added to the linked list of profile commands 241// return 1 if the command is to be added to the linked list of profile commands
242// return 0 if the command was already executed inside the function 242// return 0 if the command was already executed inside the function
243int profile_check_line(char *ptr, int lineno, const char *fname) { 243int profile_check_line(char *ptr, int lineno, const char *fname) {
244#ifdef HAVE_WHITELIST
244 static int whitelist_warning_printed = 0; 245 static int whitelist_warning_printed = 0;
246#endif
245 EUID_ASSERT(); 247 EUID_ASSERT();
246 248
247 // check and process conditional profile lines 249 // check and process conditional profile lines