remove redundant creation

This commit is contained in:
Heavybullets8 2022-08-10 22:58:51 -06:00
parent 5edeb8c80b
commit 4e61789347

View File

@ -63,13 +63,11 @@ 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
((while_count++)) ((while_count++))
echo "$while_status" > temp.txt echo -e "$while_count\n$while_status" > temp.txt
echo "$while_count" >> 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
fi fi
echo "$while_status" > temp.txt
proc_count=${#processes[@]} proc_count=${#processes[@]}
count=0 count=0
for proc in "${processes[@]}" for proc in "${processes[@]}"