fix(mover): mover was not moving shares with spaces from array to pool

This commit is contained in:
Tom Mortensen
2025-01-27 10:02:27 -08:00
parent 31e5a527fb
commit ad20679fb6

View File

@@ -72,7 +72,7 @@ start() {
else
# secondary is the unRAID array
if [[ -n $shareCachePool && -d "/mnt/$shareCachePool" ]]; then
for SHAREPATH in /mnt/disk[1-9]/$SHARE/ /mnt/disk[1-9][0-9]/$SHARE/ ; do
for SHAREPATH in /mnt/disk[1-9]/"$SHARE"/ /mnt/disk[1-9][0-9]/"$SHARE"/ ; do
move "$SHAREPATH"
done
fi