diff --git a/xCAT-server/lib/xcat/plugins/blade.pm b/xCAT-server/lib/xcat/plugins/blade.pm index 4d6d45e99..0dfab10eb 100644 --- a/xCAT-server/lib/xcat/plugins/blade.pm +++ b/xCAT-server/lib/xcat/plugins/blade.pm @@ -1799,7 +1799,7 @@ sub getmacs { push @midxary,$1; } } - } else { + } elsif ($display !~ /yes/){ $nrtab->close; return -1, "please set noderes.installnic or noderes.primarynic"; }