From fc2d5b0f7d703c6234da5d7a54b0e46cebcbcd90 Mon Sep 17 00:00:00 2001 From: Riley Laine Date: Wed, 12 Jun 2024 19:28:45 -0700 Subject: [PATCH] Revert root check 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