mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 21:34:54 +03:00
conf: Reindent virDomainObjCheckActive
Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
This commit is contained in:
parent
49fb4769e1
commit
71872d8224
@ -6001,9 +6001,9 @@ int
|
|||||||
virDomainObjCheckActive(virDomainObjPtr dom)
|
virDomainObjCheckActive(virDomainObjPtr dom)
|
||||||
{
|
{
|
||||||
if (!virDomainObjIsActive(dom)) {
|
if (!virDomainObjIsActive(dom)) {
|
||||||
virReportError(VIR_ERR_OPERATION_INVALID,
|
virReportError(VIR_ERR_OPERATION_INVALID,
|
||||||
"%s", _("domain is not running"));
|
"%s", _("domain is not running"));
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user