diff options
| author | Castor Regex <[email protected]> | 2025-08-24 13:11:19 -0500 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-08-24 13:11:19 -0500 |
| commit | 9c7d2a9c9e92264ff6f5f2ebcc7f54ab49ccefcf (patch) | |
| tree | 59c8bce319af13eeaa38cfd35d66c3c85304e274 | |
| parent | b03889101d81b1b6c79f627a22dca7569cb14ad6 (diff) | |
fix(count-auto): suppress debug output
| -rw-r--r-- | main.go | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -46,11 +46,13 @@ func main() { } me.chats = chatpb.NewChats() - if err := me.chats.ConfigLoad(); err != nil { - badExit(err) - } - if verifyUuids(me.chats) { - me.chats.ConfigSave() + if !argv.CountAuto { + if err := me.chats.ConfigLoad(); err != nil { + badExit(err) + } + if verifyUuids(me.chats) { + me.chats.ConfigSave() + } } if argv.CountAuto { |
