mirror of
https://github.com/centreon/centreon-plugins.git
synced 2025-07-29 08:34:46 +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 POSIX qw(:signal_h);
|
||||
|
||||
BEGIN {
|
||||
# ORACLE_HOME environment variable must be defined
|
||||
$ENV{'ORACLE_HOME'} = '' unless $ENV{'ORACLE_HOME'};
|
||||
}
|
||||
|
||||
sub connect_oracle {
|
||||
my ($self, %options) = @_;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user