From 4eb53a7782023cd09ad1d3d34d33b09c15533843 Mon Sep 17 00:00:00 2001 From: Eugene Kim Date: Fri, 14 Jun 2019 21:21:41 +0000 Subject: [PATCH] Abort with EX_UNAVAILABLE if initial update fails --- scripts/node.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/node.sh b/scripts/node.sh index 78c0d1c02..b9c5f8361 100755 --- a/scripts/node.sh +++ b/scripts/node.sh @@ -157,7 +157,7 @@ download_binaries() { (cd "${outdir}" && exec openssl sha256 "${BIN[@]}") > "${outdir}/checksums.txt" } -download_binaries # for the first time +download_binaries || err 69 "initial node software update failed" NODE_PORT=9000 PUB_IP=