From 9b8c9e3f8687d471234b7cd2052dcd67efab3518 Mon Sep 17 00:00:00 2001 From: nolim1t Date: Wed, 24 Jun 2020 15:00:28 +0700 Subject: [PATCH] Fix up if loop --- configure-box.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure-box.sh b/configure-box.sh index 50190b3..f1a69f9 100755 --- a/configure-box.sh +++ b/configure-box.sh @@ -38,7 +38,7 @@ if [ ! -z $TESTNET ] && [ -z $REGTEST ]; then # TODO: lnd.conf fi # REGTEST set and TESTNET not -if [[-z $TESTNET ]] && [[ ! -z $REGTEST ]]; then +if [ -z $TESTNET ] && [ ! -z $REGTEST ]; then echo "Enabling regtest mode if REGTEST variable is set" sed -i 's/\#\[regtest\]/\[regtest\]/g;' bitcoin/bitcoin.conf sed -i 's/\#regtest=1/regtest=1/g' bitcoin/bitcoin.conf