Module: check_mk
Branch: master
Commit: 1bd1c3aa0d898657635728b4204ff579d5aaa2ed
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=1bd1c3aa0d8986…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Oct 1 17:05:46 2018 +0200
fileinfo: Removed unused return statement
Change-Id: Ic8f9c9a44ab48e9f63dd32df984de3e60c04ad85
---
checks/fileinfo | 1 -
1 file changed, 1 deletion(-)
diff --git a/checks/fileinfo b/checks/fileinfo
index a1998f4..80a2114 100644
--- a/checks/fileinfo
+++ b/checks/fileinfo
@@ -259,7 +259,6 @@ def check_fileinfo(item, params, parsed):
return 0, "File not found - %s" % outof_range_txt
else:
return params.get("state_missing", 3), "File not found"
- return fileinfo_check_function(check_definition, params, outof_range_txt)
# FIXME the following does not apply anymore, because "%s" is allowed in
group_name