read_secret
This commit is contained in:
parent
4cf5783562
commit
c2a3a130d1
1 changed files with 2 additions and 2 deletions
|
@ -13,10 +13,10 @@ not() {
|
|||
}
|
||||
|
||||
read_passphrase() {
|
||||
read_secret "PassPhrase: "
|
||||
sh_read_secret "PassPhrase: "
|
||||
}
|
||||
|
||||
read_secret() {
|
||||
sh_read_secret() {
|
||||
local prompt="${1}"
|
||||
local secret
|
||||
printf "%s" "${prompt}" 1>&2
|
||||
|
|
Loading…
Reference in a new issue