mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-19 01:40:16 +01:00
cl.hsmtool: fix password display
This commit is contained in:
parent
b20293a0c9
commit
864b261355
@ -143,10 +143,10 @@ function decryptHSMsecret() {
|
||||
echo "# using the password from parameter"
|
||||
elif [ -f $passwordFile ];then
|
||||
echo "# Getting the password from $passwordFile"
|
||||
password=$(cat sudo cat $passwordFile)
|
||||
password=$(sudo cat $passwordFile)
|
||||
else
|
||||
passwordToFile
|
||||
password=$(cat sudo cat $passwordFile)
|
||||
password=$(sudo cat $passwordFile)
|
||||
fi
|
||||
if echo "${password}" | sudo -u bitcoin lightning-hsmtool decrypt \
|
||||
"$hsmSecretPath"; then
|
||||
|
Loading…
Reference in New Issue
Block a user