Move require for Table.pm down to auditlog section
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9197 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
e8bec57bf2
commit
8e156feb81
@ -15,7 +15,6 @@ if ($^O =~ /^aix/i)
|
||||
|
||||
use strict;
|
||||
use Sys::Syslog qw (:DEFAULT setlogsock);
|
||||
require xCAT::Table;
|
||||
use xCAT::Utils;
|
||||
#use locale;
|
||||
use Socket;
|
||||
@ -478,6 +477,7 @@ sub message
|
||||
if (xCAT::Utils->isMN()){
|
||||
if ($sev eq 'SA')
|
||||
{
|
||||
require xCAT::Table;
|
||||
my $auditlogentry;
|
||||
my $tab = xCAT::Table->new("auditlog");
|
||||
if ($tab)
|
||||
|
Loading…
Reference in New Issue
Block a user