1
0
mirror of https://github.com/schollz/croc synced 2024-07-02 23:58:42 +00:00

correct classic mode prompt

"Do you wish to continue to enable the classic mode?" actually defaults to "no" rather than "yes" as the prompt text implies, this corrects the prompt text.
This commit is contained in:
Ryan Castellucci 2024-06-22 09:03:42 +01:00
parent 1e34537bb2
commit 44f2b94164

View File

@ -143,7 +143,7 @@ multi-user system, this will help ensure that other local users cannot
access the shared secret and receive the files instead of the intended
recipient.
Do you wish to continue to DISABLE the classic mode? (Y/n) `)
Do you wish to continue to DISABLE the classic mode? (y/N) `)
choice := strings.ToLower(utils.GetInput(""))
if choice == "y" || choice == "yes" {
os.Remove(classicFile)