fix for bug 3574: the blank grptype means static nodegroup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16289 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
ligc 2013-05-14 07:17:21 +00:00
parent 6c19753851
commit 94f876a1cc

View File

@ -2141,7 +2141,9 @@ sub defch
# get the @memberlist for static group
# - if provided - to use below
if ($grptype eq 'static')
# if the static group is not defined in the nodegroup table
# the grptype will be undef
if(!$grptype || ($grptype eq 'static'))
{
# check for bad cmd line options