aboutsummaryrefslogtreecommitdiff
path: root/plugins-scripts/check_mssql.pl
diff options
context:
space:
mode:
Diffstat (limited to 'plugins-scripts/check_mssql.pl')
-rwxr-xr-xplugins-scripts/check_mssql.pl3
1 files changed, 2 insertions, 1 deletions
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 @@
use DBI;
use DBD::Sybase;
use Getopt::Long;
-use lib ".";
+use FindBin;
+use lib "$FindBin::Bin";
use utils qw($TIMEOUT %ERRORS &print_revision &support);
use strict;