Fix variable check conditional flag.
This commit is contained in:
parent
85e0a5be7d
commit
e7fabe6f35
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user