Module: check_mk
Branch: master
Commit: a08cf55421d0d4b06f37335432c0ff31d5b79514
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a08cf55421d0d4…
Author: Sebastian Herbord <sh(a)mathias-kettner.de>
Date: Mon Feb 8 16:41:34 2016 +0100
linux and solaris agent: fixed broken quoting when using caching
---
agents/check_mk_agent.linux | 2 +-
agents/check_mk_agent.solaris | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index 847c6aa..def834a 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -777,7 +777,7 @@ then
then
run_mrpe $descr "$cmdline"
else
- run_cached -m $descr $interval "\'$cmdline\'"
+ run_cached -m $descr $interval "$cmdline"
fi
done
fi
diff --git a/agents/check_mk_agent.solaris b/agents/check_mk_agent.solaris
index 30642e2..d3e674b 100755
--- a/agents/check_mk_agent.solaris
+++ b/agents/check_mk_agent.solaris
@@ -360,7 +360,7 @@ then
then
run_mrpe $descr "$cmdline"
else
- run_cached -m $descr $interval "\'$cmdline\'"
+ run_cached -m $descr $interval "$cmdline"
fi
done
fi