Commit 0c7a1eb0 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Minor bug fix.

parent 19c45135
......@@ -204,7 +204,7 @@ while (1) {
#
# Try to keep at least one unloaded machine available, but stay under max.
#
if (scalar(@nodelist) - $loaded <= 1) {
if (scalar(@nodelist) - $loaded < 1) {
if (keys(%tofree)) {
# rescue one from the free list.
my $key = (keys(%tofree))[0];
......
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