DockerCLI/cli/command/engine/activate_unix.go

14 lines
137 B
Go

// +build !windows
package engine
import (
"golang.org/x/sys/unix"
)
var (
isRoot = func() bool {
return unix.Geteuid() == 0
}
)