use its own count
This commit is contained in:
parent
4f944a6299
commit
54e4c3876e
@ -58,10 +58,12 @@ echo "Asynchronous Updates: $update_limit"
|
|||||||
# echo
|
# echo
|
||||||
|
|
||||||
it=0
|
it=0
|
||||||
|
while_count=0
|
||||||
while true
|
while true
|
||||||
do
|
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
|
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
|
else
|
||||||
echo "Middlewared timed out. Consider setting a lower number for async applications"
|
echo "Middlewared timed out. Consider setting a lower number for async applications"
|
||||||
continue
|
continue
|
||||||
|
Loading…
Reference in New Issue
Block a user