Skip to content

Commit

Permalink
re-enabled warnasroot
Browse files Browse the repository at this point in the history
  • Loading branch information
murphymj25 committed Apr 17, 2019
1 parent e2e17a0 commit c9705ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ func main() {

// warn once so that it is at the beginning of the log
// this will also start the reminder go routine if necessary.
//WarnIfRunAsRoot(cfg.Insecure)
WarnIfRunAsRoot(cfg.Insecure)

// setup profiling if enabled
var prof interface {
Expand Down Expand Up @@ -139,7 +139,7 @@ func main() {
startServers(cfg)

// warn again so that it is visible in the terminal
//WarnIfRunAsRoot(cfg.Insecure)
WarnIfRunAsRoot(cfg.Insecure)

exit.Wait()
log.Print("[INFO] Down")
Expand Down

0 comments on commit c9705ca

Please sign in to comment.