diff --git a/server/libvirt.c b/server/libvirt.c index a4ada37..3415ed6 100644 --- a/server/libvirt.c +++ b/server/libvirt.c @@ -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)