aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/check_file_age.pl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_file_age.pl')
-rwxr-xr-xplugins-scripts/check_file_age.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins-scripts/check_file_age.pl b/plugins-scripts/check_file_age.pl
index 5e062deb..ae25201e 100755
--- a/plugins-scripts/check_file_age.pl
+++ b/plugins-scripts/check_file_age.pl
@@ -25,7 +25,8 @@ use English;
use Getopt::Long;
use File::stat;
use vars qw($PROGNAME);
-use lib ".";
+use FindBin;
+use lib "$FindBin::Bin";
use utils qw (%ERRORS &print_revision &support);
sub print_help ();