mirror of
https://github.com/rancher/os.git
synced 2025-09-01 14:48:55 +00:00
Redo logging so its a little more capable
Signed-off-by: Sven Dowideit <SvenDowideit@home.org.au>
This commit is contained in:
@@ -9,7 +9,8 @@ import (
|
||||
)
|
||||
|
||||
func Main() {
|
||||
log.InitLogger()
|
||||
log.SetLevel(log.DebugLevel)
|
||||
|
||||
if os.Geteuid() != 0 {
|
||||
log.Fatalf("%s: Need to be root", os.Args[0])
|
||||
}
|
||||
@@ -18,5 +19,5 @@ func Main() {
|
||||
os.Setenv("DOCKER_HOST", config.SystemDockerHost)
|
||||
}
|
||||
|
||||
docker.Main()
|
||||
docker.RancherOSMain()
|
||||
}
|
||||
|
Reference in New Issue
Block a user