only with VERBOSE on
This commit is contained in:
parent
692264d1f1
commit
c99f9faf3c
|
@ -3,6 +3,8 @@
|
|||
package forgepb
|
||||
|
||||
import (
|
||||
"os"
|
||||
|
||||
"go.wit.com/lib/fhelp"
|
||||
"go.wit.com/lib/gui/prep"
|
||||
"go.wit.com/log"
|
||||
|
@ -25,7 +27,9 @@ func (f *Forge) ConfigSave() error {
|
|||
return log.Errorf("Only forge can save the config files")
|
||||
}
|
||||
|
||||
f.Config.DumpENV()
|
||||
if os.Getenv("FORGE_VERBOSE") == "true" {
|
||||
f.Config.DumpENV()
|
||||
}
|
||||
if e := f.Config.ConfigSave(); e != nil {
|
||||
log.Info("forge.Config.ConfigSave() error", e)
|
||||
err = e
|
||||
|
|
Loading…
Reference in New Issue