Commit d557ac92 authored by Mac Newbold's avatar Mac Newbold

Fix small problem that was causing a failure in the test suite: If there are...

Fix small problem that was causing a failure in the test suite: If there are no nodes in the expt, don't die(), just exit().
parent 73d71c4a
......@@ -133,7 +133,8 @@ $db_result =
"where r.pid='$pid' and r.eid='$eid'");
if ($db_result->numrows < 1) {
die("There are no nodes assigned to experiment '$eid' in project '$pid'.");
print "There are no nodes in experiment '$eid' in project '$pid'.\n";
exit;
}
while (my %row = $db_result->fetchhash()) {
......
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