diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index d44b24473..fe5172ab0 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -2144,7 +2144,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