Supress minor scp errors
This commit is contained in:
parent
4e898b421a
commit
865de3b1a9
@ -270,7 +270,9 @@ func (q *QemuSystem) CopyFile(user, localPath, remotePath string) (err error) {
|
|||||||
addr := addrPort[0]
|
addr := addrPort[0]
|
||||||
port := addrPort[1]
|
port := addrPort[1]
|
||||||
|
|
||||||
cmd := exec.Command("scp", "-P", port, "-o", "StrictHostKeyChecking=no",
|
cmd := exec.Command("scp", "-P", port,
|
||||||
|
"-o", "StrictHostKeyChecking=no",
|
||||||
|
"-o", "LogLevel=error",
|
||||||
localPath, user+"@"+addr+":"+remotePath)
|
localPath, user+"@"+addr+":"+remotePath)
|
||||||
output, err := cmd.CombinedOutput()
|
output, err := cmd.CombinedOutput()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user