mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 22:58:43 +01:00
use full error
This commit is contained in:
parent
b2886fdd78
commit
ac943c3ebc
1 changed files with 2 additions and 2 deletions
|
@ -127,10 +127,10 @@ if [ ${lndRunning} -eq 1 ]; then
|
|||
lndErrorShort=''
|
||||
#rm /mnt/hdd/temp/.lnd.error 2>/dev/null
|
||||
|
||||
if [ ${#lndError} -gt 0 ]; then
|
||||
if [ ${#lndErrorFull} -gt 0 ]; then
|
||||
|
||||
# scan error for walletLocked as common error
|
||||
locked=$(echo ${lndError} | grep -c 'Wallet is encrypted')
|
||||
locked=$(echo ${lndErrorFull} | grep -c 'Wallet is encrypted')
|
||||
if [ ${locked} -gt 0 ]; then
|
||||
echo "walletLocked=1"
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue