mirror of https://github.com/CISOfy/lynis.git
spelling: therefore
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
8eae80c840
commit
9d0e1938aa
|
@ -796,7 +796,7 @@
|
|||
# Attempt to check for Raspbian if reboot is needed
|
||||
# This check searches for apt package "raspberrypi-kernel-[package-date]", trys to extract the date of packaging from the filename
|
||||
# and compares that date with the currently running kernel's build date (uname -v).
|
||||
# Of course there can be a time difference between kernel build and kernel packaging, therefor a time difference of
|
||||
# Of course there can be a time difference between kernel build and kernel packaging, therefore a time difference of
|
||||
# 3 days is accepted and it is assumed with only 3 days apart, this must be the same kernel version.
|
||||
if [ ${REBOOT_NEEDED} -eq 2 ] && [ -d "${APT_ARCHIVE_DIRECTORY}" ]; then
|
||||
LogText "Result: found folder ${APT_ARCHIVE_DIRECTORY}; assuming this is a debian based distribution"
|
||||
|
|
Loading…
Reference in New Issue