aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/firejail/fs_hostname.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/firejail/fs_hostname.c b/src/firejail/fs_hostname.c
index 97ce70f9c..b22870713 100644
--- a/src/firejail/fs_hostname.c
+++ b/src/firejail/fs_hostname.c
@@ -154,9 +154,6 @@ void fs_mount_hosts_file(void) {
154 struct stat s; 154 struct stat s;
155 if (stat("/etc/hosts", &s) == -1) 155 if (stat("/etc/hosts", &s) == -1)
156 goto errexit; 156 goto errexit;
157 // not a link
158 if (is_link("/etc/hosts"))
159 goto errexit;
160 // owned by root 157 // owned by root
161 if (s.st_uid != 0) 158 if (s.st_uid != 0)
162 goto errexit; 159 goto errexit;