aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/firejail/fs_hostname.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/firejail/fs_hostname.c b/src/firejail/fs_hostname.c
index 42255070c..97ce70f9c 100644
--- a/src/firejail/fs_hostname.c
+++ b/src/firejail/fs_hostname.c
@@ -132,10 +132,6 @@ char *fs_check_hosts_file(const char *fname) {
132 invalid_filename(fname); 132 invalid_filename(fname);
133 char *rv = expand_home(fname, cfg.homedir); 133 char *rv = expand_home(fname, cfg.homedir);
134 134
135 // no a link
136 if (is_link(rv))
137 goto errexit;
138
139 // the user has read access to the file 135 // the user has read access to the file
140 if (access(rv, R_OK)) 136 if (access(rv, R_OK))
141 goto errexit; 137 goto errexit;