From 016bb796c42aed44565c1be57b145f27e52c1400 Mon Sep 17 00:00:00 2001 From: Christian Rotzoll Date: Thu, 25 Apr 2019 13:36:52 +0200 Subject: [PATCH] fix string comp --- home.admin/config.scripts/lnd.check.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home.admin/config.scripts/lnd.check.sh b/home.admin/config.scripts/lnd.check.sh index 01a61a1..0b640a0 100644 --- a/home.admin/config.scripts/lnd.check.sh +++ b/home.admin/config.scripts/lnd.check.sh @@ -6,7 +6,7 @@ if [ $# -eq 0 ]; then exit 1 fi -if [ "$1" -eq "basic-setup" ]; then +if [ "$1" == "basic-setup" ]; then # check TLS exits tlsExists=$(sudo ls /mnt/hdd/lnd/tls.cert | grep -c 'tls.cert')