diff options
| author | Paul Bütow <pbuetow@mimecast.com> | 2020-02-12 22:46:45 +0000 |
|---|---|---|
| committer | Paul Bütow <pbuetow@mimecast.com> | 2020-02-12 22:46:45 +0000 |
| commit | 221010919b210034ba75d42951caf3965f66aa9d (patch) | |
| tree | 40fa9530ff3c2b1137ed9a490e23a51dff907423 /internal/io/run | |
| parent | a1a0990f5e261f395a2d699cd7602ca4a6a5b6c4 (diff) | |
exec will always err if status is > 0
Diffstat (limited to 'internal/io/run')
| -rw-r--r-- | internal/io/run/run.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
