mirror of https://github.com/MidnightCommander/mc
file.c (compute_dir_size): don't break the directory reading loop
if cannot get the stat of current entry.
This commit is contained in:
parent
11bc00bea9
commit
49e72ec135
|
@ -1592,7 +1592,7 @@ compute_dir_size (const char *dirname, const void *ui,
|
|||
|
||||
if (res != 0) {
|
||||
g_free (fullname);
|
||||
break;
|
||||
continue;
|
||||
}
|
||||
|
||||
if (S_ISDIR (s.st_mode)) {
|
||||
|
|
Loading…
Reference in New Issue