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