formatting fix

Signed-off-by: Rob Gill <rrobgill@protonmail.com>
This commit is contained in:
Rob Gill 2018-10-28 10:15:45 +10:00
parent b53400f8ec
commit 36d31e5d73

View File

@ -3755,12 +3755,12 @@ check_CVE_2018_3646_linux()
fi fi
# test for kernel detected hypervisor # test for kernel detected hypervisor
dmesg_grep "Hypervisor detected:" ; ret=$? dmesg_grep "Hypervisor detected:" ; ret=$?
if [ $ret -eq 0 ]; then if [ $ret -eq 0 ]; then
_debug "hypervisor: present - found in dmesg: $dmesg_grepped" _debug "hypervisor: present - found in dmesg: $dmesg_grepped"
has_vmm=1 has_vmm=1
elif [ $ret -eq 2 ]; then elif [ $ret -eq 2 ]; then
_debug "hypervisor: dmesg truncated" _debug "hypervisor: dmesg truncated"
fi fi
# test for kernel detected paravirtualization # test for kernel detected paravirtualization
dmesg_grep "Booting paravirtualized kernel on bare metal" ; ret=$? dmesg_grep "Booting paravirtualized kernel on bare metal" ; ret=$?
if [ $ret -eq 0 ]; then if [ $ret -eq 0 ]; then