light: fix annoying unnecessary error message

This commit is contained in:
Thomas Schoebel-Theuer 2016-02-19 12:43:07 +01:00
parent 8abcbf196d
commit 8fa728a0c9

View File

@ -3157,7 +3157,7 @@ int _check_logging_status(struct mars_rotate *rot, int *log_nr, long long *oldpo
}
vers_link = get_versionlink(rot->parent_path, *log_nr, my_id(), NULL);
if (vers_link) {
if (vers_link && vers_link[0]) {
long long vers_pos = 0;
int offset = 0;
int i;