1
0
mirror of https://github.com/rancher/os.git synced 2025-09-08 10:11:46 +00:00

Move around code for better clarity

This commit is contained in:
Darren Shepherd
2018-09-15 21:55:26 -07:00
committed by niusmallnan
parent 2f50b7b178
commit 1f50386828
112 changed files with 992 additions and 859 deletions

View File

@@ -4,8 +4,8 @@ import (
"io/ioutil"
"os"
initPkg "github.com/rancher/os/init"
"github.com/rancher/os/log"
"github.com/rancher/os/pkg/log"
"github.com/rancher/os/pkg/sysinit"
)
func Main() {
@@ -15,7 +15,7 @@ func Main() {
log.Infof("Resolv.conf == [%s], %v", resolve, err)
log.Infof("Exec %v", os.Args)
if err := initPkg.SysInit(); err != nil {
if err := sysinit.SysInit(); err != nil {
log.Fatal(err)
}
}