summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--runsc/test/testutil/crictl.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/test/testutil/crictl.go b/runsc/test/testutil/crictl.go
index 9740ea6b5..4f82e8234 100644
--- a/runsc/test/testutil/crictl.go
+++ b/runsc/test/testutil/crictl.go
@@ -212,6 +212,7 @@ func (cc *Crictl) run(args ...string) (string, error) {
output, err := cmd.CombinedOutput()
if err != nil {
errCh <- fmt.Errorf("error: \"%v\", output: %s", err, string(output))
+ return
}
done <- string(output)
}()