1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

Regression fix kernel version check

got changed improperly with large update patch.
This commit is contained in:
Zdenek Kabelac 2012-03-16 19:09:49 +00:00
parent 358b3ce26b
commit e79d64b52b

View File

@ -173,7 +173,7 @@ kernel_at_least() {
local minor2=$(uname -r | cut -d. -f3 | cut -d- -f1)
test -z "$minor2" -a $3 -ne 0 && return 1
test $minor2 -lt $3 2>/dev/null || return 1
test $minor2 -ge $3 2>/dev/null || return 1
}
prepare_test_vars() {