Module: check_mk
Branch: master
Commit: 6cae81a43d1aebcf8c61c4260f42e401b8301389
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=6cae81a43d1aeb…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Tue Dec 9 13:17:08 2014 +0100
Fixed bug in todays bugfix
---
agents/check_mk_agent.linux | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index a3c63f1..049b740 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -308,7 +308,7 @@ then
fi
# On first run, before ipmi-sensors was first executed, the base directory is not
# available. Make sure it exists, otherwise the following subshell creation will
fail
- mkdir -p "$sdcache"
+ mkdir -p "${sdrcache%/*}"
# Aquire lock with flock in order to avoid multiple runs of ipmi-sensors
# in case of parallel or overlapping calls of the agent.
(