mirror of https://github.com/CISOfy/lynis.git
Log what particular atomic test has been skipped and why
This commit is contained in:
parent
5757837e28
commit
560acfadf6
|
@ -2103,7 +2103,7 @@
|
|||
RETVAL=1
|
||||
# Check if this test is on the list to skip
|
||||
for I in ${SKIP_TESTS}; do
|
||||
if [ "${I}" = "$1" ]; then RETVAL=0; LogText "Atomic test skipped by configuration (skip-test)"; fi
|
||||
if [ "${I}" = "$1" ]; then RETVAL=0; LogText "Atomic test ($1) skipped by configuration (skip-test)"; fi
|
||||
done
|
||||
fi
|
||||
return $RETVAL
|
||||
|
|
Loading…
Reference in New Issue