diff options
Diffstat (limited to 'plugins-scripts/check_file_age.pl')
-rwxr-xr-x | plugins-scripts/check_file_age.pl | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl index dcd5efa..37bbe86 100755 --- a/plugins-scripts/check_file_age.pl +++ b/plugins-scripts/check_file_age.pl | |||
@@ -37,6 +37,10 @@ my ($result, $message, $age, $size, $st); | |||
37 | 37 | ||
38 | $PROGNAME="check_file_age"; | 38 | $PROGNAME="check_file_age"; |
39 | 39 | ||
40 | $ENV{'PATH'}='@trusted_path@'; | ||
41 | $ENV{'BASH_ENV'}=''; | ||
42 | $ENV{'ENV'}=''; | ||
43 | |||
40 | $opt_w = 240; | 44 | $opt_w = 240; |
41 | $opt_c = 600; | 45 | $opt_c = 600; |
42 | $opt_W = 0; | 46 | $opt_W = 0; |