mirror of https://github.com/schoebel/mars
main: fix annoying error msg
This commit is contained in:
parent
1c31e16457
commit
6692189b7c
|
@ -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);
|
const char *primary = ordered_readlink(tmp, NULL);
|
||||||
|
|
||||||
brick_string_free(tmp);
|
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);
|
int cmp = compare_replaylinks(rot, primary, my_id(), &min_pos, NULL);
|
||||||
|
|
||||||
MARS_DBG("want_sync compare=%d min_pos=%lld\n",
|
MARS_DBG("want_sync compare=%d min_pos=%lld\n",
|
||||||
|
|
Loading…
Reference in New Issue