mirror of
https://github.com/monitoring-plugins/monitoring-plugins.git
synced 2026-04-22 06:36:55 -04:00
check_breeze, check_wave, unset CDPATH env var
This commit is contained in:
parent
4b58104107
commit
42f593c5f2
2 changed files with 3 additions and 1 deletions
|
|
@ -14,8 +14,9 @@ sub print_help ();
|
|||
sub print_usage ();
|
||||
|
||||
$ENV{'PATH'}='@TRUSTED_PATH@';
|
||||
$ENV{'BASH_ENV'}='';
|
||||
$ENV{'BASH_ENV'}='';
|
||||
$ENV{'ENV'}='';
|
||||
$ENV{'CDPATH'}='';
|
||||
|
||||
Getopt::Long::Configure('bundling');
|
||||
GetOptions
|
||||
|
|
|
|||
|
|
@ -19,6 +19,7 @@ sub print_usage ();
|
|||
$ENV{'PATH'}='@TRUSTED_PATH@';
|
||||
$ENV{'BASH_ENV'}='';
|
||||
$ENV{'ENV'}='';
|
||||
$ENV{'CDPATH'}='';
|
||||
|
||||
Getopt::Long::Configure('bundling');
|
||||
GetOptions
|
||||
|
|
|
|||
Loading…
Reference in a new issue