diff --git a/contrib/seeds/test-seeds.sh b/contrib/seeds/test-seeds.sh --- a/contrib/seeds/test-seeds.sh +++ b/contrib/seeds/test-seeds.sh @@ -63,7 +63,10 @@ BITCOIN_CLI="${BITCOIN_CLI} ${OPTION_TESTNET}" >&2 echo "Spinning up bitcoind..." -${BITCOIND} +${BITCOIND} || { + echo "Error starting bitcoind. Stopping script." + exit 12 +} cleanup() { # Cleanup background processes spawned by this script. >&2 echo "Cleaning up bitcoin daemon..."