mirror of
https://github.com/schoebel/mars
synced 2025-04-26 21:28:10 +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);
|
CHECK_PTR(rot, err);
|
||||||
|
|
||||||
status = 0;
|
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;
|
trans_brick = rot->trans_brick;
|
||||||
if (!mars_global->global_power.button ||
|
if (!mars_global->global_power.button ||
|
||||||
!trans_brick ||
|
!trans_brick ||
|
||||||
|
Loading…
Reference in New Issue
Block a user