From 59e2af198b507b7af52dc8046dc93bd5fa10fa20 Mon Sep 17 00:00:00 2001 From: Eugene Kim Date: Fri, 14 Jun 2019 20:08:11 +0000 Subject: [PATCH] Ignore nonzero status from node process This is deemed normal in loop logic, especially in case of kills --- scripts/node.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/node.sh b/scripts/node.sh index 41bec7f39..25243cb9f 100755 --- a/scripts/node.sh +++ b/scripts/node.sh @@ -270,9 +270,9 @@ do echo "############### Running Harmony Process ###############" if [ "$OS" == "Linux" ]; then # Run Harmony Node - LD_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -accounts $IDX + LD_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -accounts $IDX || : else - DYLD_FALLBACK_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -accounts $IDX + DYLD_FALLBACK_LIBRARY_PATH=$(pwd) ./harmony -bootnodes $BN_MA -ip $PUB_IP -port $NODE_PORT -is_genesis -is_archival -accounts $IDX || : fi ${loop} || break # TODO add throttling