summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/exit.go b/exit.go
index dce662b..b387ba6 100644
--- a/exit.go
+++ b/exit.go
@@ -9,6 +9,10 @@ import (
"go.wit.com/log"
)
+func exit(thing any) {
+ os.Exit(0)
+}
+
func okExit(thing string) {
if thing != "" {
log.Info("forge exit:", thing, "ok")