MXS-1899: Allow generated [maxscale] sections

The generated configuration file contains a [maxscale] section which
should not be treated as an error.
This commit is contained in:
Markus Mäkelä
2018-06-04 11:30:39 +03:00
parent d22f6d7b1c
commit 306beb05cd

View File

@ -526,7 +526,7 @@ static int ini_handler(void *userdata, const char *section, const char *name, co
if (strcmp(section, CN_GATEWAY) == 0 || strcasecmp(section, CN_MAXSCALE) == 0)
{
if (is_root_config_file)
if (is_root_config_file || is_persisted_config)
{
return handle_global_item(name, value);
}