1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-23 23:54:17 +03:00

croc --classic Yes/no prompt default is backwards

Fixes #756
This commit is contained in:
Zack 2024-07-25 08:25:54 -07:00
parent 5ea4661e4b
commit b2f446fd6b

View File

@ -167,7 +167,7 @@ on the host's process list when passed via the command line. On a
multi-user system, this could allow other local users to access the multi-user system, this could allow other local users to access the
shared secret and receive the files instead of the intended recipient. shared secret and receive the files instead of the intended recipient.
Do you wish to continue to enable the classic mode? (Y/n) `) Do you wish to continue to enable the classic mode? (y/N) `)
choice := strings.ToLower(utils.GetInput("")) choice := strings.ToLower(utils.GetInput(""))
if choice == "y" || choice == "yes" { if choice == "y" || choice == "yes" {
fmt.Print("\nClassic mode ENABLED.\n\n") fmt.Print("\nClassic mode ENABLED.\n\n")