diff options
Diffstat (limited to 'plugins-scripts')
-rwxr-xr-x | plugins-scripts/check_file_age.pl | 3 | ||||
-rwxr-xr-x | plugins-scripts/check_mssql.pl | 3 |
2 files changed, 4 insertions, 2 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; | |||
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"; | ||
29 | use utils qw (%ERRORS &print_revision &support); | 30 | use utils qw (%ERRORS &print_revision &support); |
30 | 31 | ||
31 | sub print_help (); | 32 | sub print_help (); |
diff --git a/plugins-scripts/check_mssql.pl b/plugins-scripts/check_mssql.pl index a3f497cd..a436a8ff 100755 --- a/plugins-scripts/check_mssql.pl +++ b/plugins-scripts/check_mssql.pl | |||
@@ -29,7 +29,8 @@ | |||
29 | use DBI; | 29 | use DBI; |
30 | use DBD::Sybase; | 30 | use DBD::Sybase; |
31 | use Getopt::Long; | 31 | use Getopt::Long; |
32 | use lib "."; | 32 | use FindBin; |
33 | use lib "$FindBin::Bin"; | ||
33 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 34 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
34 | use strict; | 35 | use strict; |
35 | 36 | ||