mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2025-02-24 14:51:03 +01:00
fix else
This commit is contained in:
parent
b0ca3606f8
commit
ac20b2af82
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@ if [ ${bitcoinRunning} -eq 1 ]; then
|
|||
# check if error on request
|
||||
bitcoinError=$(sudo -u bitcoin cat /home/bitcoin/.${network}/.bitcoind.error | tr "'" '"' | tr '"' '\"' )
|
||||
sudo -u bitcoin rm /home/bitcoin/.${network}/.bitcoind.error
|
||||
if [ ${#bitcoinError} -gt 0 ];
|
||||
if [ ${#bitcoinError} -gt 0 ]; then
|
||||
echo "bitcoinError='${bitcoinError}'"
|
||||
else
|
||||
|
||||
|
@ -67,7 +67,7 @@ if [ ${lndRunning} -eq 1 ]; then
|
|||
# check if error on request
|
||||
lndError=$(sudo -u bitcoin cat /home/bitcoin/.lnd/.lnd.error | tr "'" '"' | tr '"' '\"' )
|
||||
sudo -u bitcoin rm /home/bitcoin/.lnd/.lnd.error
|
||||
if [ ${#lndError} -gt 0 ];
|
||||
if [ ${#lndError} -gt 0 ]; then
|
||||
echo "lndError='${lndError}'"
|
||||
else
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue