Module: check_mk
Branch: master
Commit: a4ea469cc395bd9b89bd2fe93bf593a93e661112
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=a4ea469cc395bd…
Author: Florian Heigl <fh(a)mathias-kettner.de>
Date: Fri Oct 5 20:59:46 2012 +0200
Linux agent: small fix to supress output from type
---
agents/check_mk_agent.linux | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/agents/check_mk_agent.linux b/agents/check_mk_agent.linux
index f6441c5..fe192e9 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -408,7 +408,7 @@ fi
# Welcome the ZFS check on Linux
# We do not endorse running ZFS on linux if your vendor doesnt support it ;)
# check zpool status
-if type zpool; then
+if type zpool >/dev/null; then
echo "<<<zpool_status>>>"
zpool status -x
fi