mirror of
https://github.com/libvirt/libvirt.git
synced 2025-02-25 18:55:26 -06:00
Add missing stubs to securityselinuxhelper.c
Make sure we override both the raw and non-raw stubs in securityselinuxhelper.c. Also add diagnostics if securityselinuxlabeltest fails a test item
This commit is contained in:
@@ -300,6 +300,10 @@ cleanup:
|
||||
VIR_FREE(files[i].context);
|
||||
}
|
||||
VIR_FREE(files);
|
||||
if (ret < 0 && virTestGetVerbose()) {
|
||||
virErrorPtr err = virGetLastError();
|
||||
fprintf(stderr, "%s\n", err ? err->message : "<unknown>");
|
||||
}
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user