mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-02-22 11:22:23 +00:00
apparmor: Fix compilation by removing remains from virCommand conversion
Commit aaf20355b87d3bfda7579a7f6a4a978e848635c3 was incomplete here and missed to remove some parts.
This commit is contained in:
parent
6593a5cbfd
commit
0ec289a469
@ -163,7 +163,7 @@ load_profile(virSecurityManagerPtr mgr,
|
||||
const char *fn,
|
||||
bool append)
|
||||
{
|
||||
int rc = -1, status, ret;
|
||||
int rc = -1;
|
||||
bool create = true;
|
||||
char *xml = NULL;
|
||||
virCommandPtr cmd;
|
||||
@ -194,9 +194,6 @@ load_profile(virSecurityManagerPtr mgr,
|
||||
clean:
|
||||
VIR_FREE(xml);
|
||||
|
||||
VIR_FORCE_CLOSE(pipefd[0]);
|
||||
VIR_FORCE_CLOSE(pipefd[1]);
|
||||
|
||||
return rc;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user