From 221010919b210034ba75d42951caf3965f66aa9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Paul=20B=C3=BCtow?= Date: Wed, 12 Feb 2020 22:46:45 +0000 Subject: exec will always err if status is > 0 --- internal/io/run/run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/io') diff --git a/internal/io/run/run.go b/internal/io/run/run.go index c0c6868..3cf7935 100644 --- a/internal/io/run/run.go +++ b/internal/io/run/run.go @@ -32,7 +32,7 @@ func (r Run) Start(ctx context.Context, lines chan<- line.Line) (pid int, ec int done := make(chan struct{}) defer close(done) - ec = -1 + ec = 255 pid = -1 if len(r.args) > 0 { -- cgit v1.2.3