fix: encapsulate paths

This commit is contained in:
aclist 2025-12-27 21:06:44 +09:00
parent 4bcf894704
commit b9c30b4f52

View File

@ -488,7 +488,7 @@ migrate_files(){
} }
stale_symlinks(){ stale_symlinks(){
local game_dir="$steam_path/steamapps/common/DayZ" local game_dir="$steam_path/steamapps/common/DayZ"
for l in $(find "$game_dir" -xtype l); do for l in "$(find "$game_dir" -xtype l)"; do
logger DEBUG "Updating stale symlink '$l'" logger DEBUG "Updating stale symlink '$l'"
unlink "$l" unlink "$l"
done done