diff --git a/pandora_server/util/pandora_ha.pl b/pandora_server/util/pandora_ha.pl index a9d07ca66a..77bfefec31 100755 --- a/pandora_server/util/pandora_ha.pl +++ b/pandora_server/util/pandora_ha.pl @@ -15,7 +15,7 @@ use threads::shared; use File::Path qw(rmtree); # Default lib dir for Pandora FMS RPM and DEB packages. -use lib '/usr/lib/perl5'; +BEGIN { push @INC, '/usr/lib/perl5'; } use PandoraFMS::Tools; use PandoraFMS::DB;