diff --git a/src/cli/cli.go b/src/cli/cli.go index ec0c0f4..72c31f5 100644 --- a/src/cli/cli.go +++ b/src/cli/cli.go @@ -334,6 +334,9 @@ func receive(c *cli.Context) (err error) { if crocOptions.SharedSecret == "" { crocOptions.SharedSecret = rememberedOptions.SharedSecret } + if !c.IsSet("pass") { + crocOptions.RelayPassword = rememberedOptions.RelayPassword + } } if crocOptions.SharedSecret == "" {