diff options
author | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-19 15:34:06 +0300 |
---|---|---|
committer | Michael Boelen <michael.boelen@cisofy.com> | 2019-09-19 15:34:06 +0300 |
commit | c0f9c0ab848f21cd66e7097acc3069afba4f17d1 (patch) | |
tree | c2623310d2c68d0b28447a7f479ba4b78580f7d2 /include/tests_insecure_services | |
parent | f389cc5d9916a989f0675c2cdd58943fe2592360 (diff) |
Style and log improvements
Diffstat (limited to 'include/tests_insecure_services')
-rw-r--r-- | include/tests_insecure_services | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tests_insecure_services b/include/tests_insecure_services index f9ea8e07..3c2cd402 100644 --- a/include/tests_insecure_services +++ b/include/tests_insecure_services @@ -496,7 +496,7 @@ Register --test-no INSE-8050 --os "macOS" --preqs-met ${PREQS_MET} --skip-reason "${SKIPREASON}" --weight M --network NO --category security --description "Check for insecure services on macOS" if [ ${SKIPTEST} -eq 0 ]; then TEST_SERVICES="com.apple.fingerd com.apple.ftp-proxy" - for ITEM in "${TEST_SERVICES}"; do + for ITEM in ${TEST_SERVICES}; do if ${LAUNCHCTL_BINARY} list | ${GREPBINARY} -sq ${ITEM}; then Display --indent 2 --text "- ${ITEM}" --result "${STATUS_NO}" --color RED LogText "Result: found ${ITEM}, which is considered an insecure service" |