Skip to content

Commit

Permalink
Revert root check (#412)
Browse files Browse the repository at this point in the history
Signed-off-by: Riley Laine <rlaine@slack-corp.com>
  • Loading branch information
rjlaine authored Jun 13, 2024
1 parent 8f114fa commit 57be8a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion go/vt/servenv/servenv.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 57be8a3

Please sign in to comment.