firejail/contrib/syntax
Kelvin M. Klann dd3ef2a1d0
feature: add warn command (#6710)
And use it in etc/inc/disable-X11.inc.

This allows printing a warning message from inside a profile.

Everything after the command is printed in a warning message as is (that
is, without macro expansion).

Example:

    $ firejail --noprofile --include=/etc/firejail/disable-X11.inc true
    Reading profile /etc/firejail/disable-X11.inc
    Warning: /etc/firejail/disable-X11.inc:5: This file is deprecated; use disable-x11.inc (lowercase) instead.
    Reading profile /etc/firejail/disable-x11.inc
    [...]

Relates to #6294.

This is a follow-up to #6709.
2025-04-21 10:49:27 +00:00
..
files contrib/syntax: remove 'text/plain' from firejail-profile.lang.in (#6059) 2023-10-22 23:50:42 +00:00
lists feature: add warn command (#6710) 2025-04-21 10:49:27 +00:00
.editorconfig editorconfig: add indentation rules 2023-02-20 18:07:09 -03:00