diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2016-05-03 15:57:53 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2016-05-03 15:57:53 +0300 |
commit | eded02cfde6a48270b975d8390dac44b3ad22f35 (patch) | |
tree | f5aa20ddaade51615a4777a3642aadf2e4e546f7 /include/tests_banners | |
parent | eda79af419d4d61ab6cc078d0c8f74bb8c031b98 (diff) |
Rewritten counters and dealing with values
Diffstat (limited to 'include/tests_banners')
-rw-r--r-- | include/tests_banners | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tests_banners b/include/tests_banners index 01e7e9c4..7537fa5e 100644 --- a/include/tests_banners +++ b/include/tests_banners @@ -103,7 +103,7 @@ # FIND=`grep -i "${I}" /etc/motd` # if [ ! "${FIND}" = "" ]; then # LogText "Result: found string '${I}'" - # N=`expr ${N} + 1` + # N=$((N + 1)) # fi # done # # Check if we have 5 or more key words @@ -154,7 +154,7 @@ FIND=`grep -i "${I}" /etc/issue` if [ ! "${FIND}" = "" ]; then LogText "Result: found string '${I}'" - N=`expr ${N} + 1` + N=$((N + 1)) fi done # Check if we have 5 or more key words @@ -206,7 +206,7 @@ FIND=`grep -i "${I}" /etc/issue.net` if [ ! "${FIND}" = "" ]; then LogText "Result: found string '${I}'" - N=`expr ${N} + 1` + N=$((N + 1)) fi done # Check if we have 5 or more key words |