mirror of
https://github.com/schoebel/mars
synced 2025-01-14 02:50:48 +00:00
main: clear old err messages upon restart
This commit is contained in:
parent
8019a43aa6
commit
0a220468b0
@ -3349,6 +3349,8 @@ int make_log_init(void *buf, struct mars_dent *dent)
|
||||
my_id(),
|
||||
parent_path,
|
||||
my_id());
|
||||
if (!rot->trans_brick && trans_brick)
|
||||
clear_vals(rot->msgs);
|
||||
rot->trans_brick = (void*)trans_brick;
|
||||
status = -ENOENT;
|
||||
if (!trans_brick) {
|
||||
|
Loading…
Reference in New Issue
Block a user