提交 649b6b96 编写于 作者: T Thomas Stromberg

Return output, even if CombinedOutput fails

上级 e8015d94
...@@ -145,7 +145,7 @@ func (s *SSHRunner) CombinedOutput(cmd string) (string, error) { ...@@ -145,7 +145,7 @@ func (s *SSHRunner) CombinedOutput(cmd string) (string, error) {
err = teeSSH(sess, cmd, &combined, &combined) err = teeSSH(sess, cmd, &combined, &combined)
out := combined.b.String() out := combined.b.String()
if err != nil { if err != nil {
return "", err return out, err
} }
return out, nil return out, nil
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册