mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 02:09:15 +01:00
cl.hsmtool: fix password display
This commit is contained in:
parent
e07ad71326
commit
64e0ecd6e7
@ -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