defect 3909: make xcatd loads xCAT::Enabletrace by require instead of use to save resource
This commit is contained in:
parent
6d76a44409
commit
49cd33382c
@ -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