diff --git a/tools/virsh-host.c b/tools/virsh-host.c index 2c46336657..ab7155a382 100644 --- a/tools/virsh-host.c +++ b/tools/virsh-host.c @@ -504,7 +504,7 @@ cmdNodeSuspend(vshControl *ctl, const vshCmd *cmd) return false; } - if (duration <= 0) { + if (duration < 0) { vshError(ctl, "%s", _("Invalid duration")); return false; }