mirror of
https://github.com/CISOfy/lynis.git
synced 2025-07-26 23:34:25 +02:00
Do not unset SKIPREASON, as it is cleared at the beginning of the function
This commit is contained in:
parent
1a26005b50
commit
24679bee9a
@ -2762,7 +2762,6 @@
|
||||
if [ ${SKIPLOGTEST} -eq 0 ]; then LogText "Reason to skip: ${SKIPREASON}"; fi
|
||||
TESTS_SKIPPED="${TEST_NO}|${TESTS_SKIPPED}"
|
||||
fi
|
||||
unset SKIPREASON
|
||||
|
||||
# Save timestamp for next time the Register function is called
|
||||
PREVIOUS_TEST="${TEST_NO}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user