-Succeed when no nodegroup table exists

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3459 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2009-05-29 19:21:29 +00:00
parent 90b611cb85
commit 312c810085

View File

@ -51,7 +51,10 @@ sub expandatom {
# Try to match groups?
my $grptab = xCAT::Table->new('nodegroup');
my @grplist = @{$grptab->getAllEntries()};
my @grplist;
if ($grptab) {
@grplist = @{$grptab->getAllEntries()};
}
my $isdynamicgrp = 0;
foreach my $grpdef_ref (@grplist) {
my %grpdef = %$grpdef_ref;