Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-05-03 15:57:53 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-05-03 15:57:53 +0300
commiteded02cfde6a48270b975d8390dac44b3ad22f35 (patch)
treef5aa20ddaade51615a4777a3642aadf2e4e546f7 /include/tests_nameservices
parenteda79af419d4d61ab6cc078d0c8f74bb8c031b98 (diff)
Rewritten counters and dealing with values
Diffstat (limited to 'include/tests_nameservices')
-rw-r--r--include/tests_nameservices2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_nameservices b/include/tests_nameservices
index d81a00fb..50bb1a39 100644
--- a/include/tests_nameservices
+++ b/include/tests_nameservices
@@ -78,7 +78,7 @@
for I in ${FIND}; do
LogText "Found search domain: ${I}"
Report "resolv_conf_search_domain[]=${I}"
- N=`expr ${N} + 1`
+ N=$((N + 1))
done
# Warn if we have more than 6 search domains, which is maximum in most resolvers
if [ ${N} -gt 6 ]; then