mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-30 09:14:18 +02:00
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
|
RETVAL=1
|
||||||
# Check if this test is on the list to skip
|
# Check if this test is on the list to skip
|
||||||
for I in ${SKIP_TESTS}; do
|
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
|
done
|
||||||
fi
|
fi
|
||||||
return $RETVAL
|
return $RETVAL
|
||||||
|
Loading…
x
Reference in New Issue
Block a user