From c8e92e47d9971fc423dff03fe19ccecec3c3919f Mon Sep 17 00:00:00 2001 From: rootzoll Date: Fri, 24 Aug 2018 12:42:18 +0200 Subject: [PATCH] missing if --- 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 b909172..e4afcce 100755 --- a/home.admin/70initLND.sh +++ b/home.admin/70initLND.sh @@ -14,7 +14,7 @@ fi # verify that bitcoin is running echo "*** Checking ${network} ***" bitcoinRunning=$(systemctl status ${network}d.service 2>/dev/null | grep -c running) -fi [ ${bitcoinRunning} -eq 0 ]; then +if [ ${bitcoinRunning} -eq 0 ]; then #doublecheck bitcoinRunning=$(${network}-cli getblockchaininfo | grep -c verificationprogress) fi