From 0ae8e75fa600ec673126927e925f55ea334f88a7 Mon Sep 17 00:00:00 2001 From: ligc Date: Sat, 7 Nov 2009 07:03:55 +0000 Subject: [PATCH] xcatdefaults can be treated as a node, special case for this git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4514 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/DBobjUtils.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/perl-xCAT/xCAT/DBobjUtils.pm b/perl-xCAT/xCAT/DBobjUtils.pm index 9821b1e3e..8cae4a385 100644 --- a/perl-xCAT/xCAT/DBobjUtils.pm +++ b/perl-xCAT/xCAT/DBobjUtils.pm @@ -1291,6 +1291,10 @@ if (0) { } my @xcatdefps = split(/,/, $xcatdefaultsps); foreach my $obj(keys %{$allupdates{$table}}) { + if ($obj eq 'xcatdefaults') { + #xcatdefaults can be treated as a node? + next; + } my @newps; if (defined($allupdates{$table}{$obj}{'postscripts'}{'tabattrs'}{'postscripts'})) { foreach my $tempps (split(/,/, $allupdates{$table}{$obj}{'postscripts'}{'tabattrs'}{'postscripts'})) {