summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-07-09 19:46:16 -0500
committerJeff Carr <[email protected]>2025-07-09 23:24:06 -0500
commit0d9fe58e57c94856cf1cb9126ba62a86bd78a143 (patch)
treeba7d751da2db7df7c5a62e239feb9334896c7e7c /exit.go
parent3d3a07c194e8314accc150b6aea9f70faaae47be (diff)
forged init
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")