about summary refs log tree commit diff stats
path: root/commands/exec.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/exec.go')
-rw-r--r--commands/exec.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/exec.go b/commands/exec.go
index f615b71..e90652d 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 {