diff options
Diffstat (limited to 'commands/exec.go')
-rw-r--r-- | commands/exec.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/exec.go b/commands/exec.go index f615b71e..e90652de 100644 --- a/commands/exec.go +++ b/commands/exec.go @@ -33,8 +33,7 @@ func (ExecCmd) Execute(aerc *widgets.Aerc, args []string) error { go func() { err := cmd.Run() if err != nil { - aerc.PushStatus(" "+err.Error(), 10*time.Second). - Color(tcell.ColorDefault, tcell.ColorRed) + aerc.PushError(" "+err.Error()) } else { color := tcell.ColorDefault if cmd.ProcessState.ExitCode() != 0 { |