Commit 270cadf0 authored by Leigh Stoller's avatar Leigh Stoller

Fix to previous revision.

parent 23ef549a
......@@ -1065,7 +1065,7 @@ sub Reservations($)
$current{"$pid:$type"} = $count;
}
}
if ($row->{'start'} > time()) {
if (time() > $row->{'start'}) {
$using = $current{"$pid:$type"};
if ($using >= $row->{'nodes'}) {
$using = $row->{'nodes'};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment