defect 3909: make xcatd loads xCAT::Enabletrace by require instead of use to save resource
This commit is contained in:
parent
0599847898
commit
e7dc46a03a
@ -13,8 +13,8 @@ BEGIN
|
||||
if (defined $ENV{ENABLE_TRACE_CODE}) {
|
||||
use lib "$ENV{'XCATROOT'}/lib/perl";
|
||||
use lib "/opt/xcat/lib/perl";
|
||||
use xCAT::Enabletrace qw(loadtrace filter);
|
||||
loadtrace();
|
||||
require xCAT::Enabletrace;
|
||||
xCAT::Enabletrace->loadtrace();
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user