diff --git a/handle_file.go b/handle_file.go index ccd2ee6..4eaa23e 100644 --- a/handle_file.go +++ b/handle_file.go @@ -110,7 +110,7 @@ func OrganizeAnimeEpisode(b *strings.Builder, parsedFile *model.ParsedFile) erro return err } - if err = os.Remove(lockFile); err != nil { + if err = os.Remove(lockFile); err != nil && !errors.Is(err, os.ErrNotExist) { return err }