This commit is contained in:
Zack Scholl 2019-05-01 13:49:58 -06:00
parent 868051bc2a
commit 494b224db0
1 changed files with 6 additions and 7 deletions

View File

@ -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