mirror of
https://github.com/schollz/croc.git
synced 2025-10-11 13:21:00 +02:00
Remember relay password on receive too #177
This commit is contained in:
parent
e3ba938582
commit
252475f72e
1 changed files with 3 additions and 0 deletions
|
@ -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 == "" {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue