mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
detect locked wallet correctly
This commit is contained in:
parent
4301cf6b8a
commit
b2886fdd78
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ if [ ${lndRunning} -eq 1 ]; then
|
|||
if [ ${#lndError} -gt 0 ]; then
|
||||
|
||||
# scan error for walletLocked as common error
|
||||
locked=$(echo ${lndinfo} | grep -c 'Wallet is encrypted')
|
||||
locked=$(echo ${lndError} | grep -c 'Wallet is encrypted')
|
||||
if [ ${locked} -gt 0 ]; then
|
||||
echo "walletLocked=1"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue