diff options
-rw-r--r-- | CHANGELOG.md | 1 | ||||
-rw-r--r-- | lib/ipc/send.go | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index b81765bf..cc229447 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -29,6 +29,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). - The standard Usenet signature delimiter `"-- "` is now prepended to `signature-file` and `signature-cmd` if not already present. - All `aerc(1)` commands now interpret `aerc-templates(7)` markup. +- running commands (like mailto: or mbox:) no longer prints a success message ### Deprecated diff --git a/lib/ipc/send.go b/lib/ipc/send.go index 522e944a..4b09268c 100644 --- a/lib/ipc/send.go +++ b/lib/ipc/send.go @@ -37,9 +37,7 @@ func ConnectAndExec(args []string) error { } // TODO: handle this in a more elegant manner - if resp.Error == "" { - fmt.Println("result: success") - } else { + if resp.Error != "" { fmt.Println("result: ", resp.Error) } |