diff --git a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm index 8f8960ba6..dce1a8a24 100644 --- a/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm +++ b/xCAT-server/lib/xcat/plugins/DBobjectdefs.pm @@ -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