1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 18:15:42 +01:00
This commit is contained in:
Fadi Abbud 2022-01-06 09:58:15 +01:00
parent b32f2c6b03
commit 06d6d69755

View file

@ -316,7 +316,7 @@ func findIniFile() string {
return "" return ""
} }
// readInteractive prints a message to command line and retrives the password from it. // readInteractive prints a message to command line and retrieves the password from it.
func readInteractive(prompt string, pw **string) error { func readInteractive(prompt string, pw **string) error {
fmt.Print(prompt) fmt.Print(prompt)
p, err := terminal.ReadPassword(int(os.Stdin.Fd())) p, err := terminal.ReadPassword(int(os.Stdin.Fd()))