Fix variable check conditional flag.

This commit is contained in:
Hyperling 2025-03-19 12:44:50 -07:00
parent 85e0a5be7d
commit e7fabe6f35

View File

@ -127,7 +127,7 @@ function migrate_music {
[[ ${#track} == 1 ]] && track="0$track"
echo "*** Track=$track"
if [[ -s "$track" ]]; then
if [[ -n "$track" ]]; then
new_file="$track. $new_file"
fi