Module: check_mk
Branch: master
Commit: 5afdaffb252630734f359360eae2a3a51f1b5e1a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=5afdaffb252630…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Oct 11 11:53:17 2016 +0200
fixed typo
---
checks/fileinfo | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/checks/fileinfo b/checks/fileinfo
index 5d52695..dc37936 100644
--- a/checks/fileinfo
+++ b/checks/fileinfo
@@ -89,7 +89,7 @@ def fileinfo_groups_of_file(check_filename, reftime):
incl_match = fnmatch.fnmatch(check_filename, inclusion)
if exclusion.startswith("~"):
- reg = regex(exlusion[1:])
+ reg = regex(exclusion[1:])
excl_match = reg.match( check_filename )
else:
excl_match = fnmatch.fnmatch(check_filename, exclusion)