mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 04:22:34 +03:00
(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:
parent
e6e329bc8c
commit
25fb677b87
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user