summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-04 15:29:43 -0500
committerJeff Carr <[email protected]>2025-10-04 15:29:43 -0500
commitef0b7c74660c284a8e123b76874da6d0e322e192 (patch)
tree7112278936f6fcf176d78f3a10081e85b9b8b48a /exit.go
parent947ad21bb370ebb650e7296082d784c9ca3d27cb (diff)
smart exit function
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/exit.go b/exit.go
index 9228476..a611bb8 100644
--- a/exit.go
+++ b/exit.go
@@ -52,6 +52,6 @@ func okExit(thing string) {
}
func badExit(err error) {
- log.Info("wit failed: ", err)
+ me.sh.BadExit("wit failed: ", err)
os.Exit(-1)
}