use its own count

This commit is contained in:
Heavybullets8 2022-08-10 22:51:58 -06:00
parent 4f944a6299
commit 54e4c3876e

View File

@ -58,10 +58,12 @@ echo "Asynchronous Updates: $update_limit"
# echo
it=0
while_count=0
while true
do
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 -e "$it\n$while_status" > temp.txt
((while_count++))
echo -e "$while_count\n$while_status" > temp.txt
else
echo "Middlewared timed out. Consider setting a lower number for async applications"
continue