mirror of https://github.com/CISOfy/lynis.git
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
|
if [ ${SKIPLOGTEST} -eq 0 ]; then LogText "Reason to skip: ${SKIPREASON}"; fi
|
||||||
TESTS_SKIPPED="${TEST_NO}|${TESTS_SKIPPED}"
|
TESTS_SKIPPED="${TEST_NO}|${TESTS_SKIPPED}"
|
||||||
fi
|
fi
|
||||||
unset SKIPREASON
|
|
||||||
|
|
||||||
# Save timestamp for next time the Register function is called
|
# Save timestamp for next time the Register function is called
|
||||||
PREVIOUS_TEST="${TEST_NO}"
|
PREVIOUS_TEST="${TEST_NO}"
|
||||||
|
|
Loading…
Reference in New Issue