aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/pipe.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/pipe.go')
-rw-r--r--commands/msg/pipe.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/msg/pipe.go b/commands/msg/pipe.go
index 90015632..158f9ea3 100644
--- a/commands/msg/pipe.go
+++ b/commands/msg/pipe.go
@@ -92,7 +92,8 @@ func (_ Pipe) Execute(aerc *widgets.Aerc, args []string) error {
Color(tcell.ColorDefault, tcell.ColorRed)
} else {
aerc.PushStatus(fmt.Sprintf(
- "%s: complete", args[0]), 10*time.Second).
+ "%s: completed with status %d", args[0],
+ ecmd.ProcessState.ExitCode()), 10*time.Second).
Color(tcell.ColorDefault, tcell.ColorDefault)
}
}