From 58ffc2b4667b9b94f7d6b8d0e6200ccc838e0ac7 Mon Sep 17 00:00:00 2001 From: "nicolas.dorier" Date: Fri, 30 Nov 2018 00:41:26 +0900 Subject: [PATCH] Fix script --- contrib/load-utxo-set.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/load-utxo-set.sh b/contrib/load-utxo-set.sh index 23fd4d6..83c6983 100755 --- a/contrib/load-utxo-set.sh +++ b/contrib/load-utxo-set.sh @@ -17,7 +17,7 @@ if [[ $EUID -ne 0 ]]; then exit 1 fi -if [[ "$NBITCOIN_NETWORK" ]]; then +if ! [[ "$NBITCOIN_NETWORK" ]]; then echo "NBITCOIN_NETWORK should be set to mainnet, testnet or regtest" exit 1 fi