From 5a3ea901d51543d6e5f2fce50da5a8aa5d903655 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Mon, 15 Oct 2018 23:26:33 +0200 Subject: [PATCH] bug fix error piping --- home.admin/_bootstrap.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/_bootstrap.sh b/home.admin/_bootstrap.sh index c9fbd01..b5bb820 100644 --- a/home.admin/_bootstrap.sh +++ b/home.admin/_bootstrap.sh @@ -101,7 +101,7 @@ echo "" >> $logfile echo "** AUTOPILOT" >> $logfile # 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 # check if autopilot is active in LND config