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.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins-scripts/check_mssql.pl b/plugins-scripts/check_mssql.pl
index e3e7391d..cf23ae82 100755
--- a/plugins-scripts/check_mssql.pl
+++ b/plugins-scripts/check_mssql.pl
@@ -35,6 +35,10 @@ use strict;
my $PROGNAME = "check_mssql";
+$ENV{'PATH'}='@trusted_path@';
+$ENV{'BASH_ENV'}='';
+$ENV{'ENV'}='';
+
my (
$server,$database,$username,$password,$query,$help,$verbose,$timeout,
$dbh,$sth,$row,