Fix arithmetic bug

This commit is contained in:
The Magician 2023-12-07 16:49:27 +00:00
parent ddea23dc30
commit 106cc72726
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function main {
declare -a files=()
while read -r file; do
files[${files[@]}+1]="$file"
files[${#files[@]}+1]="$file"
done < <(get_shell_files)
if [[ "${#files[@]}" -ne 0 ]]; then