Don't show stderr here

This commit is contained in:
Joshua Boniface 2023-11-16 18:30:32 -05:00
parent c1c22c81e7
commit 7223073afc
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ for HOST in ${HOSTS[@]}; do
ssh $HOST $SUDO systemctl restart pvcnoded &>/dev/null ssh $HOST $SUDO systemctl restart pvcnoded &>/dev/null
echo " done." echo " done."
echo -n "Waiting for node daemon to be running..." echo -n "Waiting for node daemon to be running..."
while [[ $( ssh $HOST "pvc -q node list -f json ${HOST%%.*} | jq -r '.[].daemon_state'" ) != "run" ]]; do while [[ $( ssh $HOST "pvc -q node list -f json ${HOST%%.*} | jq -r '.[].daemon_state'" 2>/dev/null ) != "run" ]]; do
sleep 5 sleep 5
echo -n "." echo -n "."
done done