Commit 66b1ba34 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Do not return an error code when reserving a node already reserved, as

happens when tbprerun does its thing. Causes experiment creation to
stop, when using delay nodes.
parent 2f32844d
......@@ -29,7 +29,7 @@ foreach my $n (@node_names) {
$sth = $dbh->query($cmd);
if ($sth->numrows > 0) {
print "You have already reserved node '$n'.\n";
$error++;
# Do not increment error code since that throws off tbprerun.
} else {
print "Someone else has already reserved node '$n'.\n";
$error++;
......
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