style(kiauh.sh): save line of code

Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
th33xitus
2022-03-19 22:12:08 +01:00
parent 249fe6d216
commit 5fc31ccf0a

View File

@@ -349,8 +349,7 @@ function get_klipper_status(){
### count+1 for each found data-item from array
local filecount=0
for data in "${data_arr[@]}"
do
for data in "${data_arr[@]}"; do
[ -e "${data}" ] && filecount=$(("${filecount}" + 1))
done