提交 b5d014c3 编写于 作者: D Daniel P. Berrange

Fix missing error dispatch in virDomainLxcEnterNamespace

The virDomainLxcEnterNamespace method mistakenly uses
virCheckFlags, which returns immediately instead of
virCheckFlagsGoto which jumps to the error cleanup
patch where there is a virDispatchError call
上级 a0881019
......@@ -138,7 +138,7 @@ virDomainLxcEnterNamespace(virDomainPtr domain,
{
int i;
virCheckFlags(0, -1);
virCheckFlagsGoto(0, error);
if (noldfdlist && oldfdlist) {
size_t nfds;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册