diff options
Diffstat (limited to 'src/firejail/fs.c')
-rw-r--r-- | src/firejail/fs.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/firejail/fs.c b/src/firejail/fs.c index f7fc44c71..dbd7eced7 100644 --- a/src/firejail/fs.c +++ b/src/firejail/fs.c | |||
@@ -106,9 +106,10 @@ static void disable_file(OPERATION op, const char *filename) { | |||
106 | // some distros put all executables under /usr/bin and make /bin a symbolic link | 106 | // some distros put all executables under /usr/bin and make /bin a symbolic link |
107 | if ((strcmp(fname, "/bin") == 0 || strcmp(fname, "/usr/bin") == 0) && | 107 | if ((strcmp(fname, "/bin") == 0 || strcmp(fname, "/usr/bin") == 0) && |
108 | is_link(filename) && | 108 | is_link(filename) && |
109 | S_ISDIR(s.st_mode)) | 109 | S_ISDIR(s.st_mode)) { |
110 | fprintf(stderr, "Warning: %s directory link was not blacklisted\n", filename); | 110 | if (!arg_quiet) |
111 | 111 | fprintf(stderr, "Warning: %s directory link was not blacklisted\n", filename); | |
112 | } | ||
112 | else { | 113 | else { |
113 | if (arg_debug) | 114 | if (arg_debug) |
114 | printf("Disable %s\n", fname); | 115 | printf("Disable %s\n", fname); |