提交 f5897820 编写于 作者: M Michal Privoznik

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

Signed-off-by: NMichal Privoznik <mprivozn@redhat.com>
Reviewed-by: NDaniel Henrique Barboza <danielhb413@gmail.com>
上级 4f148d51
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册