mirror of https://github.com/schollz/croc.git
Merge b43ac359bb
into 0aa5c80393
This commit is contained in:
commit
ae22cb77ee
|
@ -526,7 +526,7 @@ func (c *Client) Send(filesInfo []FileInfo, emptyFoldersToTransfer []FileInfo, t
|
|||
flags.WriteString("--relay " + c.Options.RelayAddress + " ")
|
||||
}
|
||||
if c.Options.RelayPassword != models.DEFAULT_PASSPHRASE {
|
||||
flags.WriteString("--pass " + c.Options.RelayPassword + " ")
|
||||
flags.WriteString("--pass '" + c.Options.RelayPassword + "' ")
|
||||
}
|
||||
fmt.Fprintf(os.Stderr, "Code is: %[1]s\nOn the other computer run\n\ncroc %[2]s%[1]s\n", c.Options.SharedSecret, flags.String())
|
||||
if c.Options.Ask {
|
||||
|
|
Loading…
Reference in New Issue