main: clear old err messages upon restart

This commit is contained in:
Thomas Schoebel-Theuer 2020-01-23 12:51:00 +01:00 committed by Thomas Schoebel-Theuer
parent 8019a43aa6
commit 0a220468b0

View File

@ -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) {