Merge "devstack: fix kernel version matching to detect ovs compilation support"

This commit is contained in:
Jenkins 2016-09-09 11:51:43 +00:00 committed by Gerrit Code Review
commit 000feab26b

View File

@ -38,7 +38,7 @@ function load_module {
function is_kernel_supported_for_ovs25 {
major=$(uname -r | cut -d\. -f 1)
minor=$(uname -r | cut -d\. -f 2)
if [ $major -le 4 -a $minor -le 3 ]; then
if [ $major -le 4 -o $minor -le 3 ]; then
return 0
fi