Make sure flag is followed by end of line or space. #349
1 changed files with 1 additions and 1 deletions
|
@ -515,7 +515,7 @@ check_vm_arch_specific() {
|
|||
&& return 0
|
||||
fi
|
||||
if has_cpuinfo \
|
||||
&& grep -q -i -e '^flags.*:.*\(hypervisor\|vmm\)' /proc/cpuinfo
|
||||
&& grep -q -i -e '^flags.*:.*\(hypervisor\|vmm\)\( \|$\) /proc/cpuinfo
|
||||
then
|
||||
return 0
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue