if status check times out, try again immediately

This commit is contained in:
Heavybullets8 2022-08-10 18:57:50 -06:00
parent e21736cb8b
commit 2e146d1e58

View File

@ -17,8 +17,11 @@ rm trigger &>/dev/null
while true
do
if [[ -f trigger ]]; then
while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null)
if while_status=$(cli -m csv -c 'app chart_release query name,update_available,human_version,human_latest_version,status' 2>/dev/null) ; then
echo "$while_status" > temp.txt
else
continue
fi
fi
proc_count=${#processes[@]}
count=0