Browse Source

detect locked wallet correctly

master
Christian Rotzoll 6 years ago
parent
commit
b2886fdd78
  1. 2
      home.admin/config.scripts/blitz.statusscan.sh

2
home.admin/config.scripts/blitz.statusscan.sh

@ -130,7 +130,7 @@ if [ ${lndRunning} -eq 1 ]; then
if [ ${#lndError} -gt 0 ]; then if [ ${#lndError} -gt 0 ]; then
# scan error for walletLocked as common error # 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 if [ ${locked} -gt 0 ]; then
echo "walletLocked=1" echo "walletLocked=1"
else else

Loading…
Cancel
Save