From f63aaf9ebfd95602d2741f07a817572c27873425 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 2 Apr 2012 20:05:53 +0000 Subject: [PATCH] fix defect 3513526 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/lib/perl/xCAT/SvrUtils.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xCAT-server/lib/perl/xCAT/SvrUtils.pm b/xCAT-server/lib/perl/xCAT/SvrUtils.pm index b1b43dc00..1f5a16d5a 100644 --- a/xCAT-server/lib/perl/xCAT/SvrUtils.pm +++ b/xCAT-server/lib/perl/xCAT/SvrUtils.pm @@ -267,6 +267,7 @@ sub getsynclistfile() my %osimage_syncfile = (); my @profiles = (); + if ($nodes) { # get the profile attributes for the nodes my $nodetype_t = xCAT::Table->new('nodetype'); unless ($nodetype_t) { @@ -288,6 +289,7 @@ sub getsynclistfile() push @profiles, $profile; } } + } # get the syncfiles base on the osimage my $osimage_t = xCAT::Table->new('osimage');