Module: check_mk
Branch: master
Commit: bc10d03ca554adab6b7c44fbf7aeba8300aa3579
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=bc10d03ca554ad…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Mon Jul 2 13:40:55 2018 +0200
Minor cleanup
Change-Id: Ib531411bd24e8d22e361f852c609d56935cc0414
---
agents/plugins/mk_oracle | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/plugins/mk_oracle b/agents/plugins/mk_oracle
index 19f2f17..5ce0737 100755
--- a/agents/plugins/mk_oracle
+++ b/agents/plugins/mk_oracle
@@ -345,7 +345,7 @@ logging () {
echo "$header" >> "$log_file"
else
for arg in "${args[@]:1}"; do
- echo "${header} $(echo "$arg" | tr '\n' '
' | sed 's/\s*$//')" >> "$log_file"
+ echo "${header} $arg" >> "$log_file"
done
fi