Module: check_mk
Branch: master
Commit: 93f416d03fdca9f4eb53af7d5d2fcbd1a4110c12
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=93f416d03fdca9…
Author: Marcel Schulte <ms(a)mathias-kettner.de>
Date: Wed Mar 1 16:25:46 2017 +0100
8663 FIX MSSQL plugin: fixed reading in of ini file(s)
Fixed a nasty bug in MSSQL plugin, which prevented the plugin to read in the ini files.
Change-Id: I576355d1a480cd81d01420e75450d9651ce7f2b5
---
.werks/8663 | 11 +++++++++++
agents/windows/plugins/mssql.vbs | 2 +-
2 files changed, 12 insertions(+), 1 deletion(-)
diff --git a/.werks/8663 b/.werks/8663
new file mode 100644
index 0000000..ce5fc32
--- /dev/null
+++ b/.werks/8663
@@ -0,0 +1,11 @@
+Title: MSSQL plugin: fixed reading in of ini file(s)
+Level: 2
+Component: checks
+Class: fix
+Compatible: compat
+Edition: cre
+State: unknown
+Version: 1.5.0i1
+Date: 1488381734
+
+Fixed a nasty bug in MSSQL plugin, which prevented the plugin to read in the ini files.
diff --git a/agents/windows/plugins/mssql.vbs b/agents/windows/plugins/mssql.vbs
index 7e1416f..47207ec 100644
--- a/agents/windows/plugins/mssql.vbs
+++ b/agents/windows/plugins/mssql.vbs
@@ -67,9 +67,9 @@ Function readIniFile(path)
End If
End If
End If
- Set FH = Nothing
Loop
FH.Close
+ Set FH = Nothing
End If
Set readIniFile = parsed
Set parsed = Nothing