fix main command error handler printing wrongly formatted stuff.

This commit is contained in:
fiatjaf 2025-06-27 13:48:07 -03:00
parent 1e237b4c42
commit 79cbc57dde
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,7 @@ func main() {
if err := app.Run(context.Background(), os.Args); err != nil {
if err != nil {
log(color.YellowString(err.Error()) + "\n")
log("%s\n", color.YellowString(err.Error()))
}
colors.reset()
os.Exit(1)