Fix script

This commit is contained in:
nicolas.dorier
2018-11-30 00:41:26 +09:00
parent 7eeb20f75c
commit 58ffc2b466

View File

@@ -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