diff options
author | Greg Cox <gcox@fibbsbozza.local> | 2014-07-29 18:52:12 -0400 |
---|---|---|
committer | Greg Cox <gcox@fibbsbozza.local> | 2014-07-29 18:52:12 -0400 |
commit | 4273dd06ff3e52094d6b267d00e8c51dd74de364 (patch) | |
tree | 425d127da5dbec7013999ed01b469fc3f72992d9 /plugins-scripts/check_file_age.pl | |
parent | f05e7016320f4671fbf86cc5abc277efea20f79e (diff) | |
parent | 6f3d5825b203b75aef8d68bf0d117e7a1a4c0616 (diff) | |
download | monitoring-plugins-4273dd06ff3e52094d6b267d00e8c51dd74de364.tar.gz |
Merge remote-tracking branch 'upstream/master'
Conflicts:
plugins/netutils.c
Diffstat (limited to 'plugins-scripts/check_file_age.pl')
-rwxr-xr-x | plugins-scripts/check_file_age.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl index 5e062deb..453e0f55 100755 --- a/plugins-scripts/check_file_age.pl +++ b/plugins-scripts/check_file_age.pl | |||
@@ -25,7 +25,9 @@ use English; | |||
25 | use Getopt::Long; | 25 | use Getopt::Long; |
26 | use File::stat; | 26 | use File::stat; |
27 | use vars qw($PROGNAME); | 27 | use vars qw($PROGNAME); |
28 | use lib "."; | 28 | use FindBin; |
29 | use lib "$FindBin::Bin"; | ||
30 | use lib '@libexecdir@'; | ||
29 | use utils qw (%ERRORS &print_revision &support); | 31 | use utils qw (%ERRORS &print_revision &support); |
30 | 32 | ||
31 | sub print_help (); | 33 | sub print_help (); |