mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 09:57:17 +01:00
lncli path correction
This commit is contained in:
@@ -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 "*******************"
|
||||
|
||||
Reference in New Issue
Block a user