Fix not checking dotfiles in cache path

This commit is contained in:
Gergely Koloszar committed 2025-10-21 19:04:38 +00:00
1 parent f2124218e4
commit 1dfe9cd9df
1 file changed
+1 -1
+1 -1
View File
@@ -108,7 +108,7 @@ setup_state_files(){
logger INFO "Migrating legacy version file"
fi
# wipe cache files
if [[ $(ls "$cache_path") ]]; then
if [[ $(ls -A "$cache_path") ]]; then
for file in "$cache_path"/*; do
rm "$file"
done