aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/sign.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/sign.go')
-rw-r--r--commands/compose/sign.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/commands/compose/sign.go b/commands/compose/sign.go
index eb985e99..635b07c6 100644
--- a/commands/compose/sign.go
+++ b/commands/compose/sign.go
@@ -28,7 +28,10 @@ func (Sign) Execute(aerc *widgets.Aerc, args []string) error {
composer, _ := aerc.SelectedTab().(*widgets.Composer)
- composer.SetSign(!composer.Sign())
+ err := composer.SetSign(!composer.Sign())
+ if err != nil {
+ return err
+ }
var statusline string