From 25fb677b87c5ae5f39d9949372de7c18b352768b Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Thu, 12 Sep 2024 15:45:20 +0300 Subject: [PATCH] (copy_file_file): fix handling of mc_open() error. In case of FILE_IGNORE, immediately stop processing of file. Signed-off-by: Andrew Borodin --- src/filemanager/file.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/filemanager/file.c b/src/filemanager/file.c index 4009a6560..3482ea6c8 100644 --- a/src/filemanager/file.c +++ b/src/filemanager/file.c @@ -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; }