ssh: clarify log error msg

This commit is contained in:
Greg T. Wallace 2024-06-06 22:51:12 -04:00
parent 7a415f5c85
commit 41efc56c62

View file

@ -12,7 +12,7 @@ func sshCheckResponse(remoteOutPipe io.Reader) error {
buffer := make([]uint8, 1) buffer := make([]uint8, 1)
_, err := remoteOutPipe.Read(buffer) _, err := remoteOutPipe.Read(buffer)
if err != nil { if err != nil {
return fmt.Errorf("ssh: failed to make read output buffer (%w)", err) return fmt.Errorf("ssh: failed to read output buffer (%w)", err)
} }
responseType := buffer[0] responseType := buffer[0]