From d43af4216f2ca4e400a7bed6fdf7084eae642ff3 Mon Sep 17 00:00:00 2001 From: Neil Alexander Date: Fri, 11 Mar 2022 17:22:36 +0000 Subject: [PATCH] Don't yell about `root` because Docker --- setup/base/sanity_unix.go | 5 ----- 1 file changed, 5 deletions(-) diff --git a/setup/base/sanity_unix.go b/setup/base/sanity_unix.go index de29a6b86..0c1543e0b 100644 --- a/setup/base/sanity_unix.go +++ b/setup/base/sanity_unix.go @@ -10,11 +10,6 @@ import ( ) func platformSanityChecks() { - // If Dendrite is running as root, that's probably bad. - if syscall.Geteuid() == 0 { - logrus.Warnf("IMPORTANT: Dendrite is currently running as root, this is potentially dangerous!") - } - // Dendrite needs a relatively high number of file descriptors in order // to function properly, particularly when federating with lots of servers. // If we run out of file descriptors, we might run into problems accessing