style(kiauh.sh): save line of code
Signed-off-by: Dominik Willner th33xitus@gmail.com
This commit is contained in:
@@ -349,8 +349,7 @@ function get_klipper_status(){
|
|||||||
|
|
||||||
### count+1 for each found data-item from array
|
### count+1 for each found data-item from array
|
||||||
local filecount=0
|
local filecount=0
|
||||||
for data in "${data_arr[@]}"
|
for data in "${data_arr[@]}"; do
|
||||||
do
|
|
||||||
[ -e "${data}" ] && filecount=$(("${filecount}" + 1))
|
[ -e "${data}" ] && filecount=$(("${filecount}" + 1))
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user