From c2a3a130d191f997c9d9c8fab5b4f0e86aa27d3a Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 20 Nov 2024 10:06:58 +0100 Subject: [PATCH] read_secret --- sh/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sh/util.sh b/sh/util.sh index 05eb5d2..5fb3178 100644 --- a/sh/util.sh +++ b/sh/util.sh @@ -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