Module: check_mk
Branch: master
Commit: c3d6596e7d3b5e0136a578372e9a75a6ed613648
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=c3d6596e7d3b5e…
Author: Simon Betz <si(a)mathias-kettner.de>
Date: Wed Jul 12 12:40:40 2017 +0200
Fixed syntax error in if statement
Change-Id: If492b8bf8b20b9664120de29c9706bdb0d79d7d0
---
agents/check_mk_agent.solaris | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/agents/check_mk_agent.solaris b/agents/check_mk_agent.solaris
index d95796b..57bd19c 100755
--- a/agents/check_mk_agent.solaris
+++ b/agents/check_mk_agent.solaris
@@ -309,7 +309,8 @@ fi
# Memory
# <<<solaris_mem>>> should be used if statgrab is missing and top is
available.
-if ! type statgrab &>/dev/null
+if ! type statgrab &>/dev/null;
+then
if [ -x /usr/bin/top ] || [ -x /usr/local/top ]
then
echo "<<<solaris_mem>>>"