lxcParseConfigString: Don't return success if post parse callback fails

Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Reviewed-by: Daniel Henrique Barboza <danielhb413@gmail.com>
This commit is contained in:
Michal Privoznik 2019-09-09 17:45:28 +02:00
parent 4f148d5154
commit f5897820ca

View File

@ -1190,7 +1190,7 @@ lxcParseConfigString(const char *config,
if (virDomainDefPostParse(vmdef, caps, VIR_DOMAIN_DEF_PARSE_ABI_UPDATE,
xmlopt, NULL) < 0)
goto cleanup;
goto error;
goto cleanup;