fix: typo

This commit is contained in:
Bo-Yi Wu 2017-03-04 22:11:45 +08:00
parent b6ec7c2347
commit 20a4793249

View File

@ -93,7 +93,7 @@ func (p Plugin) Exec() error {
outStr, errStr, isTimeout, err := ssh.Run(strings.Join(p.Config.Script, "\n"), p.Config.CommandTimeout)
p.log(host, "outputs:", outStr)
if len(errStr) != 0 {
p.log(host, "errors:", outStr)
p.log(host, "errors:", errStr)
}
if !isTimeout {