From d8745b7042fd56c9b87025ed0f2e4e5e17b8d542 Mon Sep 17 00:00:00 2001 From: bioxz <bioxz@stderr.cc> Date: Wed, 9 Apr 2014 18:41:31 +0200 Subject: [PATCH] Changed client count subtrahend from 2 to 3 (do not count the device itself) --- nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh b/nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh index e543805..f467bc0 100755 --- a/nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh +++ b/nodewatcher/files/lib/ffol/nodewatcher/nodewatcher.sh @@ -174,7 +174,7 @@ crawl() { err "`date`: Collecting information about conected clients" #CLIENTS - client_count=$(($(batctl tl|wc -l) - 2)) + client_count=$(($(batctl tl|wc -l) - 3)) err "`date`: Putting all information into a XML-File and save it at "$SCRIPT_DATA_FILE -- GitLab