From c1a2669e9b133d22b0641ef7fd5cf533ab9bc749 Mon Sep 17 00:00:00 2001 From: fabs Date: Sat, 6 Feb 2021 19:24:01 +0100 Subject: [PATCH] fix local_errf sticking and global_errf causing errors in tagmove --- music_tagmove_lib | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/music_tagmove_lib b/music_tagmove_lib index 30905a8..e120eee 100644 --- a/music_tagmove_lib +++ b/music_tagmove_lib @@ -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 ]] || \