fix multiple table processing

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9697 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2011-05-26 18:07:44 +00:00
parent 7077e78e2a
commit 46eb5f5c12

View File

@ -41,8 +41,11 @@ if ($::RUNCMD_RC != 0)
exit 1;
}
# read tables to skip during dump from site.skiptables attribute
my @skiptbls=xCAT::Utils->get_site_attribute('skiptables');
my @output2=xCAT::Utils->get_site_attribute('skiptables');
my @skiptbls;
if (@output2) {
@skiptbls = split (/\,/,$output2[0]);
}
foreach my $table (@output)
{
# if not -a request , skip eventlog and auditlog