quiet output

This commit is contained in:
Jeff Carr 2025-09-13 08:39:20 -05:00
parent cb6394f34a
commit 98ecc249c0
1 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ func Init() *Forge {
os.Exit(-1) os.Exit(-1)
} }
f := initFromConfig(cfg) 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()) log.Printf("forge.Init() %s len()=%d\n", f.Config.Filename, f.Repos.Len())
fhelp.DumpENV("finit:") fhelp.DumpENV("finit:")
f.Config.DumpENV() f.Config.DumpENV()
@ -92,7 +92,7 @@ func (f *Forge) SetConfigSave(b bool) {
// saves the config if there have been changes // saves the config if there have been changes
func (f *Forge) Exit() { func (f *Forge) Exit() {
// log.Info("forge.configSave =", f.configSave) // log.Info("forge.configSave =", f.configSave)
if f.Config.Mode != ForgeMode_NORMAL { if f.Config.Mode == ForgeMode_MASTER {
fhelp.DumpENV("forge:") fhelp.DumpENV("forge:")
f.Config.DumpENV() f.Config.DumpENV()
} }