Module: check_mk
Branch: master
Commit: 14899d04882af7328cce6fa61f2c73dc75ad12e3
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=14899d04882af7…
Author: Bernd Stroessenreuther <bs(a)mathias-kettner.de>
Date: Mon May 26 18:31:30 2014 +0200
check_mk_agent.solaris: fixed problem with call of mdb command (the output caused problems
in the previous agent section)
---
agents/check_mk_agent.solaris | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/check_mk_agent.solaris b/agents/check_mk_agent.solaris
index 888b016..1ae8281 100644
--- a/agents/check_mk_agent.solaris
+++ b/agents/check_mk_agent.solaris
@@ -130,7 +130,7 @@ then
fi
# ZFS arc cache
-if type mdb &>/dev/null
+if type mdb >/dev/null 2>&1
then
echo '<<<zfs_arc_cache>>>'
echo "::arc" | mdb -k