Module: monitoring-plugins Branch: master Commit: 42f593c5f2ec18ec435d56d5ba29d9317afdf6b4 Author: RincewindsHat <12514511+rincewinds...@users.noreply.github.com> Date: Thu Sep 7 20:56:15 2023 +0200 URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=42f593c
check_breeze, check_wave, unset CDPATH env var --- plugins-scripts/check_breeze.pl | 3 ++- plugins-scripts/check_wave.pl | 1 + 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins-scripts/check_breeze.pl b/plugins-scripts/check_breeze.pl index 05b9920..531625c 100755 --- a/plugins-scripts/check_breeze.pl +++ b/plugins-scripts/check_breeze.pl @@ -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 diff --git a/plugins-scripts/check_wave.pl b/plugins-scripts/check_wave.pl index 663a83d..c24015c 100755 --- a/plugins-scripts/check_wave.pl +++ b/plugins-scripts/check_wave.pl @@ -19,6 +19,7 @@ sub print_usage (); $ENV{'PATH'}='@TRUSTED_PATH@'; $ENV{'BASH_ENV'}=''; $ENV{'ENV'}=''; +$ENV{'CDPATH'}=''; Getopt::Long::Configure('bundling'); GetOptions