fix local_errf sticking and global_errf causing errors in tagmove
This commit is contained in:
@@ -252,6 +252,7 @@ function cmd_wrap {
|
||||
}
|
||||
|
||||
function tagmove_single {
|
||||
local_errf=
|
||||
file_name="$1"
|
||||
artist=$(read_tag artist "$file_name")
|
||||
date=$(read_tag date "$file_name")
|
||||
@@ -262,11 +263,6 @@ function tagmove_single {
|
||||
if [[ -n $local_errf ]]; then
|
||||
error "Error reading tags for file \"$file_name\""
|
||||
return
|
||||
else
|
||||
if [[ $global_errf ]]; then
|
||||
error "Global error flag set, not performing move on file \"$file_name\""
|
||||
return
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -z $artist ]] || \
|
||||
|
||||
Reference in New Issue
Block a user