Merge pull request #1421 from kmajzero/rhel8_7_fix

Version comparison logic fix for RHEL workaround.
This commit is contained in:
Robert Baldyga 2022-12-19 16:08:14 +01:00 committed by GitHub
commit e2a7884406
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,10 +46,10 @@ compare_version () {
}
compare_kernel_version () {
compare_version $1 $2 $3 $LINUX_MAJOR $LINUX_MINOR $LINUX_SUB $4
compare_version $LINUX_MAJOR $LINUX_MINOR $LINUX_SUB $1 $2 $3 $4
}
compare_rhel_kernel_version () {
compare_version $1 $2 $3 $RHEL_MAJOR $RHEL_MINOR $RHEL_SUB $4
compare_version $RHEL_MAJOR $RHEL_MINOR $RHEL_SUB $1 $2 $3 $4
}
check () {