quiet output
This commit is contained in:
parent
cb6394f34a
commit
98ecc249c0
4
init.go
4
init.go
|
@ -32,7 +32,7 @@ func Init() *Forge {
|
|||
os.Exit(-1)
|
||||
}
|
||||
f := initFromConfig(cfg)
|
||||
if f.Config.Mode != ForgeMode_NORMAL {
|
||||
if f.Config.Mode == ForgeMode_MASTER {
|
||||
log.Printf("forge.Init() %s len()=%d\n", f.Config.Filename, f.Repos.Len())
|
||||
fhelp.DumpENV("finit:")
|
||||
f.Config.DumpENV()
|
||||
|
@ -92,7 +92,7 @@ func (f *Forge) SetConfigSave(b bool) {
|
|||
// saves the config if there have been changes
|
||||
func (f *Forge) Exit() {
|
||||
// log.Info("forge.configSave =", f.configSave)
|
||||
if f.Config.Mode != ForgeMode_NORMAL {
|
||||
if f.Config.Mode == ForgeMode_MASTER {
|
||||
fhelp.DumpENV("forge:")
|
||||
f.Config.DumpENV()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue