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.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/firejail/profile.c b/src/firejail/profile.c
index 53fa38845..172aff121 100644
--- a/src/firejail/profile.c
+++ b/src/firejail/profile.c
@@ -64,8 +64,7 @@ int profile_find(const char *name, const char *dir) {
64//*************************************************** 64//***************************************************
65 65
66static void warning_feature_disabled(const char *feature) { 66static void warning_feature_disabled(const char *feature) {
67 if (!arg_quiet) 67 fwarning("%s feature is disabled in Firejail configuration file\n", feature);
68 fprintf(stderr, "Warning: %s feature is disabled in Firejail configuration file\n", feature);
69} 68}
70 69
71 70
@@ -513,8 +512,7 @@ int profile_check_line(char *ptr, int lineno, const char *fname) {
513#ifdef HAVE_SECCOMP 512#ifdef HAVE_SECCOMP
514 if (checkcfg(CFG_SECCOMP)) { 513 if (checkcfg(CFG_SECCOMP)) {
515 if (cfg.protocol) { 514 if (cfg.protocol) {
516 if (!arg_quiet) 515 fwarning("a protocol list is present, the new list \"%s\" will not be installed\n", ptr + 9);
517 fprintf(stderr, "Warning: a protocol list is present, the new list \"%s\" will not be installed\n", ptr + 9);
518 return 0; 516 return 0;
519 } 517 }
520 518