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>2018-01-11 12:37:56 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2018-01-11 12:37:56 +0300
commit00ad535c6b5b6de30d6d2b9a3982cf02a7bb16db (patch)
tree94ecc67a4daf2fd5dcf43f27e8a1e1e76b8f09e8
parent1bd77beb391636f116556b1260a023d83e385527 (diff)
Use different variable in for loop
-rw-r--r--include/functions4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/functions b/include/functions
index d0d56ccc..52dbcabb 100644
--- a/include/functions
+++ b/include/functions
@@ -2802,9 +2802,9 @@
STRING=""
RETVAL=1
# Check if this test is on the list to skip
- for I in ${SKIP_TESTS}; do
+ for item in ${SKIP_TESTS}; do
STRING=$(echo $1 | tr '[:lower:]' '[:upper:]')
- if [ "${I}" = "${STRING}" ]; then RETVAL=0; LogText "Atomic test ($1) skipped by configuration (skip-test)"; fi
+ if [ "${item}" = "${STRING}" ]; then RETVAL=0; LogText "Atomic test ($1) skipped by configuration (skip-test)"; fi
done
else
ReportException "SkipAtomicTest()" "Function called without right number of arguments (1)"