mirror of
https://github.com/rootzoll/raspiblitz.git
synced 2024-11-20 10:12:06 +01:00
ui enhance
This commit is contained in:
parent
6f6051c16b
commit
6645184be9
@ -63,7 +63,10 @@ if [ ${lndInstalled} -gt 0 ]; then
|
||||
echo "check for open channels"
|
||||
openChannels=$(sudo -u bitcoin lncli listchannels 2>/dev/null | grep chan_id -c)
|
||||
if [ ${openChannels} -gt 0 ]; then
|
||||
echo ""
|
||||
echo "!!!!!!!!!!!!!!!!!!!"
|
||||
echo "FAIL - You have still open channels and could loose funds !! - close those first with lncli closeallchannels"
|
||||
echo "!!!!!!!!!!!!!!!!!!!"
|
||||
exit 1
|
||||
else
|
||||
echo "no open channels found"
|
||||
|
Loading…
Reference in New Issue
Block a user