mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-09-27 20:16:22 +02:00
bug fix error piping
This commit is contained in:
@@ -101,7 +101,7 @@ echo "" >> $logfile
|
|||||||
echo "** AUTOPILOT" >> $logfile
|
echo "** AUTOPILOT" >> $logfile
|
||||||
|
|
||||||
# check if LND is installed
|
# check if LND is installed
|
||||||
lndExists=$(ls /mnt/hdd/lnd/lnd.conf >/dev/null | grep -c '.conf')
|
lndExists=$(ls /mnt/hdd/lnd/lnd.conf 2>/dev/null | grep -c '.conf')
|
||||||
if [ ${lndExists} -eq 1 ]; then
|
if [ ${lndExists} -eq 1 ]; then
|
||||||
|
|
||||||
# check if autopilot is active in LND config
|
# check if autopilot is active in LND config
|
||||||
|
Reference in New Issue
Block a user