Commit f95bff8a authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix a nit for Mike; print the partial reserved count correctly.

parent 298b7e10
......@@ -1199,9 +1199,11 @@ sub RunAssign ()
#
if ($exitval > 0) {
my @reserved = ExpNodes($pid, $eid);
my $rcount = scalar(@reserved);
# We got only some. Need to figure out which.
print "Reserved some nodes ($exitval) we needed, but not all.\n";
print "Reserved some nodes ($rcount) we needed, ".
"but not all ($exitval).\n";
foreach my $node (@reserved) {
if (exists($toreserve{$node})) {
......
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