mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
fix
This commit is contained in:
parent
868051bc2a
commit
494b224db0
1 changed files with 6 additions and 7 deletions
|
@ -197,13 +197,12 @@ func receive(c *cli.Context) (err error) {
|
|||
}
|
||||
|
||||
cr, err := croc.New(croc.Options{
|
||||
SharedSecret: sharedSecret,
|
||||
IsSender: false,
|
||||
Debug: c.GlobalBool("debug"),
|
||||
NoPrompt: c.GlobalBool("yes"),
|
||||
RelayAddress: c.GlobalString("relay"),
|
||||
Stdout: c.GlobalBool("stdout"),
|
||||
PathToReceive: c.GlobalString("out"),
|
||||
SharedSecret: sharedSecret,
|
||||
IsSender: false,
|
||||
Debug: c.GlobalBool("debug"),
|
||||
NoPrompt: c.GlobalBool("yes"),
|
||||
RelayAddress: c.GlobalString("relay"),
|
||||
Stdout: c.GlobalBool("stdout"),
|
||||
})
|
||||
if err != nil {
|
||||
return
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue