summaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.go b/main.go
index 38a955b..9bd946a 100644
--- a/main.go
+++ b/main.go
@@ -88,7 +88,7 @@ func mode[T any](list ModeMap[T], fire func(mode T) *spool.ExitCode) *spool.Exit
code := list.Traverse(func(in T) *spool.ExitCode {
return fire(in)
})
- if code != nil {
+ if code != nil && code != spool.Success {
_, _ = spool.Warn("%v\n", code.Message)
code.Exit()
}