diff options
Diffstat (limited to 'plugins-scripts/check_mssql.pl')
-rwxr-xr-x | plugins-scripts/check_mssql.pl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins-scripts/check_mssql.pl b/plugins-scripts/check_mssql.pl index a3f497cd..1f387884 100755 --- a/plugins-scripts/check_mssql.pl +++ b/plugins-scripts/check_mssql.pl | |||
@@ -29,7 +29,9 @@ | |||
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"; | ||
34 | use lib '@libexecdir@'; | ||
33 | use utils qw($TIMEOUT %ERRORS &print_revision &support); | 35 | use utils qw($TIMEOUT %ERRORS &print_revision &support); |
34 | use strict; | 36 | use strict; |
35 | 37 | ||