summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-12-17 06:36:00 -0600
committerJeff Carr <[email protected]>2024-12-17 06:36:00 -0600
commit36073faed5babe12a4f1a34e7e74fe52516b8861 (patch)
treee916ea5753a670a02b9b0be3fb9228a6a7e3e86f /exit.go
parentac029ee52ce434adaf88f13fa6e45f9b3d30c275 (diff)
lots of changes here and in gitpb
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/exit.go b/exit.go
index 487d8fe..8cddc11 100644
--- a/exit.go
+++ b/exit.go
@@ -9,10 +9,10 @@ import (
func okExit(thing string) {
log.Info(thing, "ok")
if configSave {
- me.forge.ConfigSave()
+ me.forge.SetConfigSave(configSave)
}
// log.Info("Finished go-clean on", check.GetGoPath(), "ok")
- os.Exit(0)
+ me.forge.Exit()
}
func badExit(err error) {