(copy_file_file): fix handling of mc_open() error.

In case of FILE_IGNORE, immediately stop processing of file.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2024-09-12 15:45:20 +03:00
parent e6e329bc8c
commit 25fb677b87

View File

@ -2515,8 +2515,6 @@ copy_file_file (file_op_context_t *ctx, const char *src_path, const char *dst_pa
continue;
if (return_status == FILE_IGNORE_ALL)
ctx->ignore_all = TRUE;
if (return_status == FILE_IGNORE)
break;
ctx->do_append = FALSE;
goto ret_fast;
}