mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
mute not needed error msg
This commit is contained in:
parent
b918dd6cfa
commit
c5b2643294
2 changed files with 2 additions and 2 deletions
|
@ -386,7 +386,7 @@ if [ "${lightning}" == "cln" ]; then
|
|||
else
|
||||
|
||||
# generate new wallet
|
||||
source <(sudo /home/admin/config.scripts/cln.hsmtool.sh new-force mainnet "${passwordC}")
|
||||
source <(sudo /home/admin/config.scripts/cln.hsmtool.sh new-force mainnet ${passwordC})
|
||||
|
||||
# check if got new seedwords
|
||||
if [ "${seedwords}" == "" ] || [ "${seedwords6x4}" == "" ]; then
|
||||
|
|
|
@ -147,7 +147,7 @@ if [ "$1" = "new" ] || [ "$1" = "new-force" ] || [ "$1" = "seed" ] || [ "$1" = "
|
|||
# check/delete existing wallet
|
||||
if [ "$1" = "new-force" ] || [ "$1" = "seed-force" ]; then
|
||||
echo "# deleting any old wallet ..."
|
||||
sudo rm $hsmSecretPath
|
||||
sudo rm $hsmSecretPath 2>/dev/null
|
||||
else
|
||||
if sudo ls $hsmSecretPath 2>1 1>/dev/null; then
|
||||
echo "# The hsm_secret is already present at $hsmSecretPath."
|
||||
|
|
Loading…
Add table
Reference in a new issue