mirror of
https://github.com/gregtwallace/apc-p15-tool.git
synced 2025-01-22 08:14:08 +00:00
scp: switch to quiet
This commit is contained in:
parent
27b7288e07
commit
b4dfb22028
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ func scpSendFileToUPS(client *ssh.Client, p15File []byte) error {
|
|||
// Go implementation sends additional 0x22 bytes when using Run() (as
|
||||
// compared to putty's scp tool). these additional bytes seem to cause the
|
||||
// apc ups to fail execution of the command
|
||||
payload := []byte(fmt.Sprintf("scp -v -t %s", scpP15Destination))
|
||||
payload := []byte(fmt.Sprintf("scp -q -t %s", scpP15Destination))
|
||||
payloadLen := uint8(len(payload))
|
||||
payload = append([]byte{0, 0, 0, payloadLen}, payload...)
|
||||
|
||||
|
|
Loading…
Reference in a new issue