mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 12:32:40 +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;
|
continue;
|
||||||
if (return_status == FILE_IGNORE_ALL)
|
if (return_status == FILE_IGNORE_ALL)
|
||||||
ctx->ignore_all = TRUE;
|
ctx->ignore_all = TRUE;
|
||||||
if (return_status == FILE_IGNORE)
|
|
||||||
break;
|
|
||||||
ctx->do_append = FALSE;
|
ctx->do_append = FALSE;
|
||||||
goto ret_fast;
|
goto ret_fast;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user