mirror of
https://github.com/MidnightCommander/mc
synced 2025-02-15 14:54:35 +03:00
Fixup of getting stat info before file operation.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
bd6afefeee
commit
0932051fd2
@ -2494,7 +2494,7 @@ panel_operate (void *source_panel, FileOperation operation, gboolean force_singl
|
||||
}
|
||||
|
||||
/* Update stat to get actual info */
|
||||
if (mc_stat (source, &src_stat) != 0)
|
||||
if (mc_lstat (source, &src_stat) != 0)
|
||||
{
|
||||
message (D_ERROR, MSG_ERROR, _("Cannot stat \"%s\"\n%s"),
|
||||
path_trunc (source, 30), unix_error_string (errno));
|
||||
|
Loading…
x
Reference in New Issue
Block a user