Compare commits
2 Commits
Author | SHA1 | Date |
---|---|---|
|
6732640068 | |
|
ac02bbc094 |
8
main.go
8
main.go
|
@ -43,11 +43,7 @@ func main() {
|
||||||
|
|
||||||
me.forge = forgepb.Init()
|
me.forge = forgepb.Init()
|
||||||
|
|
||||||
me.machine = new(zoopb.Machine)
|
me.machine, _ = zoopb.InitMachine()
|
||||||
if err := me.machine.ConfigLoad(); err != nil {
|
|
||||||
log.Info("zoopb.ConfigLoad() failed", err)
|
|
||||||
}
|
|
||||||
me.machine.InitWit()
|
|
||||||
|
|
||||||
if argv.Clone != nil {
|
if argv.Clone != nil {
|
||||||
if argv.RepoMap != "" {
|
if argv.RepoMap != "" {
|
||||||
|
@ -138,7 +134,7 @@ func okExit(thing string) {
|
||||||
}
|
}
|
||||||
|
|
||||||
func badExit(err error) {
|
func badExit(err error) {
|
||||||
log.Info("go-clean failed: ", err, me.forge.GetGoSrc())
|
log.Info("go-clean failed: ", err, me.forge.Config.ReposDir)
|
||||||
os.Exit(-1)
|
os.Exit(-1)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue