Module: check_mk
Branch: master
Commit: 4401b23fdc69744446b59ea29a01433cf4e4821a
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=4401b23fdc6974…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Thu Jun 23 11:42:58 2011 +0200
vbox_guest: fix agent output
---
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 6e4bbd2..a0777e5 100755
--- a/agents/check_mk_agent.linux
+++ b/agents/check_mk_agent.linux
@@ -289,7 +289,7 @@ fi
# check would not be executed in case no guest additions are installed.
# And that is something the check wants to detect
echo '<<<vbox_guest>>>'
-if which VBoxControl ; then
+if which VBoxControl > /dev/null 2>&1 ; then
VBoxControl -nologo guestproperty enumerate | cut -d, -f1,2
fi