summaryrefslogtreecommitdiff
path: root/exit.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-15 00:25:32 -0500
committerJeff Carr <[email protected]>2025-10-15 00:25:32 -0500
commit6bf6cd03a651013a327d31427d0366cd8aa1c8de (patch)
tree5d744cc6ab2c7a4569379a0522371e8e2862e03a /exit.go
parent97a695752040ccf96335c5e593bd9856a61a5fb6 (diff)
try out an If(key) functionv0.0.25
Diffstat (limited to 'exit.go')
-rw-r--r--exit.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/exit.go b/exit.go
index 8e70a55..01ac9a5 100644
--- a/exit.go
+++ b/exit.go
@@ -4,13 +4,12 @@ package config
// see how this turns out
import (
+ "fmt"
"os"
-
- "go.wit.com/log"
)
// todo: figure out how to pass this back to argv
func BadExit(reason string, err error) {
- log.Exit("lib/config exiting here", reason, err)
+ fmt.Println("lib/config bad exit. no app callback here. FIXME", reason, err)
os.Exit(-1)
}