Skip to content

Commit

Permalink
warn when running firejail with --disable-sandbox-check
Browse files Browse the repository at this point in the history
Clarify that it is only intended for development (and thus that it may
potentially cause issues).

Relates to #6592 #6619.
  • Loading branch information
kmk3 committed Jan 16, 2025
1 parent c1423e4 commit dd2bcfd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/firejail/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1146,6 +1146,8 @@ int main(int argc, char **argv, char **envp) {
__builtin_unreachable();
}
}
#else
fwarning("firejail was built with --disable-sandbox-check, this is only intended for development\n");
#endif

// profile builder
Expand Down

0 comments on commit dd2bcfd

Please sign in to comment.