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