lncli path correction

This commit is contained in:
rootzoll
2018-08-20 02:08:44 +02:00
parent 18d8c3e02b
commit f0c9978547
9 changed files with 13 additions and 11 deletions

View File

@@ -32,7 +32,7 @@ echo ""
echo "OK"
sleep 2
openChannels=$(sudo -u bitcoin lncli listchannels 2>/dev/null | grep chan_id -c)
openChannels=$(sudo -u bitcoin /usr/local/gocode/bin/lncli listchannels 2>/dev/null | grep chan_id -c)
if [ ${openChannels} -gt 0 ]; then
echo ""
echo "*******************"