Module: check_mk
Branch: master
Commit: ef608a7afff80cae8e131997812c49a3e5d28cc9
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=ef608a7afff80c…
Author: Moritz Kiemer <mo(a)mathias-kettner.de>
Date: Wed Apr 24 07:42:55 2019 +0200
check_mk_agent.openwrt: '[[' not available in ash.
Change-Id: I68f7737eac0d44bdaee5eae61df2c6f3b0061095
---
agents/check_mk_agent.openwrt | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/agents/check_mk_agent.openwrt b/agents/check_mk_agent.openwrt
index 5718e5d..69f08cc 100755
--- a/agents/check_mk_agent.openwrt
+++ b/agents/check_mk_agent.openwrt
@@ -800,7 +800,7 @@ if [ -e $MK_CONFDIR/real_time_checks.cfg ]; then
fi
is_valid_plugin () {
- [[ -f "$1" && -x "$1" ]] && true || false
+ [ -f "$1" ] && [ -x "$1" ] && true || false
}
# Local checks