diff options
| author | ewy <ewy0@protonmail.com> | 2026-10-08 16:41:56 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-10-08 16:44:00 +0200 |
| commit | df2eed1533742287cf30236fe41bfc4b1ccd375d (patch) | |
| tree | a43128c47d145e507440c01b3ef96a717ab84135 /main.go | |
| parent | 94ed96dfa9cc2d6dc667556a7fd5a672b503b845 (diff) | |
do not print success every time
Diffstat (limited to 'main.go')
| -rw-r--r-- | main.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -89,7 +89,9 @@ func mode[T any](list ModeMap[T], fire func(mode T) *spool.ExitCode) *spool.Exit return fire(in) }) if code != nil { - _, _ = spool.Warn("%v\n", code.Message) + if code != spool.Success { + _, _ = spool.Warn("%v\n", code.Message) + } code.Exit() } return nil |
