diff options
Diffstat (limited to 'plugins-scripts/check_ifoperstatus.pl')
-rwxr-xr-x | plugins-scripts/check_ifoperstatus.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins-scripts/check_ifoperstatus.pl b/plugins-scripts/check_ifoperstatus.pl index 26fae76d..159eb62e 100755 --- a/plugins-scripts/check_ifoperstatus.pl +++ b/plugins-scripts/check_ifoperstatus.pl | |||
@@ -49,6 +49,10 @@ sub usage ($); | |||
49 | sub print_usage (); | 49 | sub print_usage (); |
50 | sub process_arguments (); | 50 | sub process_arguments (); |
51 | 51 | ||
52 | $ENV{'PATH'}='@trusted_path@'; | ||
53 | $ENV{'BASH_ENV'}=''; | ||
54 | $ENV{'ENV'}=''; | ||
55 | |||
52 | my $timeout; | 56 | my $timeout; |
53 | my $status; | 57 | my $status; |
54 | my %ifOperStatus = ('1','up', | 58 | my %ifOperStatus = ('1','up', |