hostlist order respected

This commit is contained in:
Pavel Vorobyov
2020-03-26 12:59:14 +03:00
parent 49caf07ba6
commit 7cff810f27
2 changed files with 21 additions and 9 deletions

View File

@@ -241,7 +241,7 @@ execLoop:
err = cmd.Run()
signal.Reset()
if err != nil {
term.Errorf("Error copying tempfile: %s\n", err)
term.Errorf("Error copying generated script file to remote host: %s\n", err)
r.ErrorHosts = append(r.ErrorHosts, host)
r.Codes[host] = ErrCopyFailed
continue