fixed libs check
This commit is contained in:
parent
5a2c23f29d
commit
05a66e3bca
@ -29,7 +29,12 @@ use Getopt::Long;
|
|||||||
$ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin';
|
$ENV{'PATH'} = '/bin:/sbin:/usr/bin:/usr/sbin';
|
||||||
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
|
delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
|
||||||
|
|
||||||
my $LSOF = '/usr/bin/lsof -F0';
|
my $LSOF = '/usr/sbin/lsof -F0 -w';
|
||||||
|
|
||||||
|
if (-e "/etc/debian_version" ) {
|
||||||
|
my $LSOF = '/usr/bin/lsof -F0 -w';
|
||||||
|
}
|
||||||
|
|
||||||
my $VERSION = '0.2012042101';
|
my $VERSION = '0.2012042101';
|
||||||
|
|
||||||
# nagios exit codes
|
# nagios exit codes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user