summaryrefslogtreecommitdiffstats
path: root/plugins-scripts/check_wave.pl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_wave.pl')
-rwxr-xr-xplugins-scripts/check_wave.pl7
1 files changed, 4 insertions, 3 deletions
diff --git a/plugins-scripts/check_wave.pl b/plugins-scripts/check_wave.pl
index 2671112a..979416e0 100755
--- a/plugins-scripts/check_wave.pl
+++ b/plugins-scripts/check_wave.pl
@@ -1,9 +1,10 @@
1#!/usr/bin/perl -wT 1#!@PERL@ -w
2# 2#
3 3
4 4
5use strict; 5use strict;
6use lib utils.pm; 6use FindBin;
7use lib "$FindBin::Bin";
7use utils qw($TIMEOUT %ERRORS &print_revision &support); 8use utils qw($TIMEOUT %ERRORS &print_revision &support);
8use vars qw($PROGNAME); 9use vars qw($PROGNAME);
9use Getopt::Long; 10use Getopt::Long;
@@ -15,7 +16,7 @@ $PROGNAME = "check_wave";
15sub print_help (); 16sub print_help ();
16sub print_usage (); 17sub print_usage ();
17 18
18$ENV{'PATH'}=''; 19$ENV{'PATH'}='@TRUSTED_PATH@';
19$ENV{'BASH_ENV'}=''; 20$ENV{'BASH_ENV'}='';
20$ENV{'ENV'}=''; 21$ENV{'ENV'}='';
21 22