mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-30 17:15:11 +02:00
CTOR-1634: Plugin(database::oracle) - Segmentation Fault with glibc
Latest Version (#5589)
Refs: CTOR-1634
This commit is contained in:
parent
358cfd1e39
commit
5c5d7f806a
@ -26,6 +26,11 @@ use strict;
|
|||||||
use warnings;
|
use warnings;
|
||||||
use POSIX qw(:signal_h);
|
use POSIX qw(:signal_h);
|
||||||
|
|
||||||
|
BEGIN {
|
||||||
|
# ORACLE_HOME environment variable must be defined
|
||||||
|
$ENV{'ORACLE_HOME'} = '' unless $ENV{'ORACLE_HOME'};
|
||||||
|
}
|
||||||
|
|
||||||
sub connect_oracle {
|
sub connect_oracle {
|
||||||
my ($self, %options) = @_;
|
my ($self, %options) = @_;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user