[KRNL-5830] improved text in log

This commit is contained in:
Michael Boelen 2018-07-02 14:52:29 +02:00
parent 696cdbfbf1
commit 1bf09ad60a
No known key found for this signature in database
GPG Key ID: 26141F77A09D7F04
1 changed files with 4 additions and 4 deletions

View File

@ -584,14 +584,14 @@
for I in ${KERNELS}; do
# Check if we already found a kernel and it is not equal to what we run (e.g. double versions may exist)
if [ ${FOUND_KERNEL} -eq 1 -a ! "${MYKERNEL}" = "${I}" ]; then
LogText "Result: found a kernel (${I}) later than running one (${MYKERNEL})"
LogText "Result: found a kernel (${I}) later than active kernel (${MYKERNEL})"
REBOOT_NEEDED=1
fi
if [ "${MYKERNEL}" = "${I}" ]; then
FOUND_KERNEL=1
LogText "Result: Found ${I} (= our kernel)"
LogText "Result: found ${I} (= active kernel)"
else
LogText "Result: Found ${I}"
LogText "Result: found ${I}"
fi
done
# Check if we at least found the kernel on disk
@ -600,7 +600,7 @@
else
# If we are not sure yet reboot it needed, but we found running kernel as last one on disk, we run latest kernel
if [ ${REBOOT_NEEDED} -eq 2 ]; then
LogText "Result: we found our kernel on disk as last entry, so seems to be up-to-date"
LogText "Result: found the running kernel on disk being the last entry, so it looks up-to-date"
REBOOT_NEEDED=0
fi
fi