main: fix annoying error msg

This commit is contained in:
Thomas Schoebel-Theuer 2021-04-16 13:31:14 +02:00
parent 1c31e16457
commit 6692189b7c
1 changed files with 1 additions and 1 deletions

View File

@ -4740,7 +4740,7 @@ int _check_logging_status(struct mars_rotate *rot, int *log_nr, long long *oldpo
const char *primary = ordered_readlink(tmp, NULL);
brick_string_free(tmp);
if (likely(primary && primary[0])) {
if (likely(primary && primary[0]) && strcmp(primary, "(none)")) {
int cmp = compare_replaylinks(rot, primary, my_id(), &min_pos, NULL);
MARS_DBG("want_sync compare=%d min_pos=%lld\n",