mirror of
https://github.com/schoebel/mars
synced 2025-03-11 07:47:41 +00:00
main: skip scanning deleted logfiles
This commit is contained in:
parent
4e8e8511df
commit
0a1967278b
@ -3962,6 +3962,11 @@ int make_log_step(struct mars_dent *dent)
|
||||
CHECK_PTR(rot, err);
|
||||
|
||||
status = 0;
|
||||
if (!S_ISREG(dent->new_stat.mode)) {
|
||||
MARS_DBG("no logfile '%s' -> '%s'\n",
|
||||
dent->d_path, dent->new_link);
|
||||
goto done;
|
||||
}
|
||||
trans_brick = rot->trans_brick;
|
||||
if (!mars_global->global_power.button ||
|
||||
!trans_brick ||
|
||||
|
Loading…
Reference in New Issue
Block a user