Fix bad error message when log_format does not contain %u
This commit is contained in:
parent
91fa881f94
commit
73c4a8f1f1
@ -785,8 +785,8 @@ static int validate_config(bip_t *bip)
|
||||
}
|
||||
}
|
||||
|
||||
if (strstr(conf_log_format, "\%u") == NULL)
|
||||
mylog(LOG_WARN, "log_format doesn't contain \%u, all users'"
|
||||
if (strstr(conf_log_format, "%u") == NULL)
|
||||
mylog(LOG_WARN, "log_format does not contain %%u, all users'"
|
||||
" logs will be mixed !");
|
||||
return r;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user