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>2019-08-04 20:19:12 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2019-08-04 20:19:12 +0300
commitd3355937a4a3c73ce62c04e0ea6849e4ab02358e (patch)
treefe1d3aed0e80e685b068b4a9dcae8097795aa7a0 /include/tests_networking
parentf2b385fbf7017d56759040ae6451e4f829ac1c74 (diff)
Don't quote in for loop to prevent glueing individual lines together
Diffstat (limited to 'include/tests_networking')
-rw-r--r--include/tests_networking6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/tests_networking b/include/tests_networking
index aa167873..53f74ec8 100644
--- a/include/tests_networking
+++ b/include/tests_networking
@@ -436,14 +436,14 @@
esac
if [ -n "${DATA}" ]; then
- for ITEM in "${DATA}"; do
+ for ITEM in ${DATA}; do
COUNT=$((COUNT + 1))
Report "network_listen[]=${ITEM}"
done
fi
if [ -n "${FIND}" ]; then
- for ITEM in "${FIND}"; do
+ for ITEM in ${FIND}; do
COUNT=$((COUNT + 1))
LogText "Found listening info: ${ITEM}"
Report "network_listen_port[]=${ITEM}"
@@ -451,7 +451,7 @@
fi
if [ -n "${FIND2}" ]; then
- for ITEM in "${FIND2}"; do
+ for ITEM in ${FIND2}; do
COUNT=$((COUNT + 1))
LogText "Found listening info: ${ITEM}"
Report "network_listen_port[]=${ITEM}"