Module: check_mk
Branch: master
Commit: ea431a9abb5da7f2de00ab0f6404f096960d7f5a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ea431a9abb5da7…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Tue Apr 17 09:30:55 2018 +0200
Fixed possible missing newline before df section
Change-Id: I6e332b19a1af5bca47d0cf36c416e070d3f4781c
---
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 3eb7cb3..9682327 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -321,7 +321,7 @@ echo "LocalDirectory: $LOCALDIR"
if [ -n "$REMOTE_HOST" ]
then
echo -n 'OnlyFrom: '
- sed -n
'/^service[[:space:]]*check_mk/,/}/s/^[[:space:]]*only_from[[:space:]]*=[[:space:]]*\(.*\)/\1/p'
< /etc/xinetd.d/* | head -n1
+ sed -n
'/^service[[:space:]]*check_mk/,/}/s/^[[:space:]]*only_from[[:space:]]*=[[:space:]]*\(.*\)/\1/p'
/etc/xinetd.d/* | head -n1; echo
fi
# Print out Partitions / Filesystems. (-P gives non-wrapped POSIXed output)