From 5f8f907ead89a9adaf8b1c16116bf4d60eee52e1 Mon Sep 17 00:00:00 2001 From: lissav Date: Mon, 2 Apr 2012 20:12:54 +0000 Subject: [PATCH] fix defect 3513526 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.6@12099 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 346a466b5..5992872e2 100644 --- a/xCAT-server/lib/perl/xCAT/SvrUtils.pm +++ b/xCAT-server/lib/perl/xCAT/SvrUtils.pm @@ -252,6 +252,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) { @@ -273,6 +274,7 @@ sub getsynclistfile() push @profiles, $profile; } } + } # get the syncfiles base on the osimage my $osimage_t = xCAT::Table->new('osimage');