From 7894be7dd338b4565871bb57a1a839559e151ead Mon Sep 17 00:00:00 2001 From: rootzoll Date: Sun, 2 Aug 2020 22:42:33 +0200 Subject: [PATCH] #1395 fix uniary-operator bug --- home.admin/00raspiblitz.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/00raspiblitz.sh b/home.admin/00raspiblitz.sh index 18245c94c..5322df5f7 100755 --- a/home.admin/00raspiblitz.sh +++ b/home.admin/00raspiblitz.sh @@ -279,7 +279,7 @@ else # check if LND needs re-setup source <(sudo /home/admin/config.scripts/lnd.check.sh basic-setup) - if [ ${wallet} -eq 0 ] || [ ${macaroon} -eq 0 ] || [ ${config} -eq 0 ] || [ ${tls} -eq 0 ]; then + if [ "${wallet}" == "0" ] || [ "${macaroon}" == "0" ] || [ "${config}" == "0" ] || [ "${tls}" == "0" ]; then echo "WARN: LND needs re-setup" /home/admin/70initLND.sh exit 0