diff options
Diffstat (limited to 'plugins-scripts/check_ifstatus.pl')
-rwxr-xr-x | plugins-scripts/check_ifstatus.pl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins-scripts/check_ifstatus.pl b/plugins-scripts/check_ifstatus.pl index 63c71ff..421580a 100755 --- a/plugins-scripts/check_ifstatus.pl +++ b/plugins-scripts/check_ifstatus.pl | |||
@@ -46,6 +46,9 @@ sub usage ($); | |||
46 | sub print_usage (); | 46 | sub print_usage (); |
47 | sub process_arguments (); | 47 | sub process_arguments (); |
48 | 48 | ||
49 | $ENV{'PATH'}='@trusted_path@'; | ||
50 | $ENV{'BASH_ENV'}=''; | ||
51 | $ENV{'ENV'}=''; | ||
49 | 52 | ||
50 | my $status; | 53 | my $status; |
51 | my %ifOperStatus = ('1','up', | 54 | my %ifOperStatus = ('1','up', |