ui enhance

This commit is contained in:
rootzoll 2018-08-09 13:13:04 +02:00
parent 6f6051c16b
commit 6645184be9

View File

@ -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"