forked from altcloud/fence-virt
Fix build error due to improper value
Signed-off-by: Lon Hohberger <lon@users.sourceforge.net>
This commit is contained in:
parent
726e40673e
commit
05fea81b67
@ -278,7 +278,7 @@ libvirt_status(const char *vm_name, void *priv)
|
||||
|
||||
if (!vdp || ((virDomainGetInfo(vdp, &vdi) == 0) &&
|
||||
(vdi.state == VIR_DOMAIN_SHUTOFF))) {
|
||||
ret = RESP_OFF;
|
||||
ret = 1;
|
||||
}
|
||||
|
||||
if (vdp)
|
||||
|
Loading…
Reference in New Issue
Block a user