From 40ee35320871ad0a2c1503baef221221ebf85ca0 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Fri, 24 Aug 2018 04:38:35 +0200 Subject: [PATCH] remove debug --- home.admin/70initLND.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/70initLND.sh b/home.admin/70initLND.sh index 8bcd166..85cc236 100755 --- a/home.admin/70initLND.sh +++ b/home.admin/70initLND.sh @@ -71,7 +71,7 @@ echo "" ###### Start LND echo "*** Starting LND ***" -lndRunning=$(systemctl status lnd.service | grep -c running) +lndRunning=$(systemctl status lnd.service 2>/dev/null | grep -c running) if [ ${lndRunning} -eq 0 ]; then sed -i "5s/.*/Wants=${network}d.service/" ./assets/lnd.service sed -i "6s/.*/After=${network}d.service/" ./assets/lnd.service