mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
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
This commit is contained in:
parent
a08810195c
commit
b5d014c375
@ -138,7 +138,7 @@ virDomainLxcEnterNamespace(virDomainPtr domain,
|
||||
{
|
||||
int i;
|
||||
|
||||
virCheckFlags(0, -1);
|
||||
virCheckFlagsGoto(0, error);
|
||||
|
||||
if (noldfdlist && oldfdlist) {
|
||||
size_t nfds;
|
||||
|
Loading…
x
Reference in New Issue
Block a user