Commit bf2883df authored by Leigh Stoller's avatar Leigh Stoller

Fix minor bug.

parent 00f3f3be
......@@ -273,7 +273,9 @@ if (! $frontend) {
# Look for the unsual case of more than 2 nodes and no vlans. Send a
# warning message.
#
if (ExpNodes($pid, $eid, 1) > 2) {
my @localnodes = ExpNodes($pid, $eid, 1);
if (defined(@localnodes) && scalar(@localnodes) > 2) {
my $vlans_result =
DBQueryFatal("select pid from virt_lans where ".
"pid='$pid' and eid='$eid'");
......
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