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