diff options
author | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-07 18:56:15 (GMT) |
---|---|---|
committer | RincewindsHat <12514511+RincewindsHat@users.noreply.github.com> | 2023-09-07 18:56:15 (GMT) |
commit | 42f593c5f2ec18ec435d56d5ba29d9317afdf6b4 (patch) | |
tree | 4adb0e7a6eaeea7256e029cb8350463bf76b67d1 /plugins-scripts | |
parent | 4b58104107a9287556db78204ed9c5b10bc88bdc (diff) | |
download | monitoring-plugins-42f593c5f2ec18ec435d56d5ba29d9317afdf6b4.tar.gz |
check_breeze, check_wave, unset CDPATH env varrefs/pull/1917/head
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_breeze.pl | 3 | ||||
-rwxr-xr-x | plugins-scripts/check_wave.pl | 1 |
2 files changed, 3 insertions, 1 deletions
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 (); | |||
14 | sub print_usage (); | 14 | sub print_usage (); |
15 | 15 | ||
16 | $ENV{'PATH'}='@TRUSTED_PATH@'; | 16 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
17 | $ENV{'BASH_ENV'}=''; | 17 | $ENV{'BASH_ENV'}=''; |
18 | $ENV{'ENV'}=''; | 18 | $ENV{'ENV'}=''; |
19 | $ENV{'CDPATH'}=''; | ||
19 | 20 | ||
20 | Getopt::Long::Configure('bundling'); | 21 | Getopt::Long::Configure('bundling'); |
21 | GetOptions | 22 | 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 (); | |||
19 | $ENV{'PATH'}='@TRUSTED_PATH@'; | 19 | $ENV{'PATH'}='@TRUSTED_PATH@'; |
20 | $ENV{'BASH_ENV'}=''; | 20 | $ENV{'BASH_ENV'}=''; |
21 | $ENV{'ENV'}=''; | 21 | $ENV{'ENV'}=''; |
22 | $ENV{'CDPATH'}=''; | ||
22 | 23 | ||
23 | Getopt::Long::Configure('bundling'); | 24 | Getopt::Long::Configure('bundling'); |
24 | GetOptions | 25 | GetOptions |