summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 00:20:57 -0600
committerJeff Carr <[email protected]>2024-12-17 00:20:57 -0600
commita71305ea52b931c189076e11a4526848bf822c15 (patch)
treeb4d7e416af0157edeee0f739028e83435a4d9ce6 /exit.go
parentbe3841578cb466f02bbc4ea1e13e024b5a77e85d (diff)
save the config after changes
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/exit.go b/exit.go
index 7b8b027..487d8fe 100644
--- a/exit.go
+++ b/exit.go
@@ -8,6 +8,9 @@ import (
func okExit(thing string) {
log.Info(thing, "ok")
+ if configSave {
+ me.forge.ConfigSave()
+ }
// log.Info("Finished go-clean on", check.GetGoPath(), "ok")
os.Exit(0)
}