From 57be8a34729c9f072807d4d78ced00b0b94c1c59 Mon Sep 17 00:00:00 2001 From: Riley Laine <95257195+rjlaine@users.noreply.github.com> Date: Wed, 12 Jun 2024 19:41:24 -0700 Subject: [PATCH] Revert root check (#412) Signed-off-by: Riley Laine --- go/vt/servenv/servenv.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go/vt/servenv/servenv.go b/go/vt/servenv/servenv.go index 0e4c124b4eb..1726c807d3b 100644 --- a/go/vt/servenv/servenv.go +++ b/go/vt/servenv/servenv.go @@ -106,7 +106,7 @@ func Init() { // Once you run as root, you pretty much destroy the chances of a // non-privileged user starting the program correctly. if uid := os.Getuid(); uid == 0 { - // log.Exitf("servenv.Init: running this as root makes no sense") + log.Exitf("servenv.Init: running this as root makes no sense") } // We used to set this limit directly, but you pretty much have to