summarylogtreecommitdiffstats
path: root/vmware-patch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'vmware-patch.sh')
-rw-r--r--vmware-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmware-patch.sh b/vmware-patch.sh
index e477bdaff839..2c9e4421ed9d 100644
--- a/vmware-patch.sh
+++ b/vmware-patch.sh
@@ -152,7 +152,7 @@ for kernel in ${kernels[@]}; do
fi
# Is product version not lower and kernel version not higher in patch name?
- if (( $(vercmp "$ver_patch" "$ver2") >= 0 )) && (( $(vercmp "$kernel_patch" "$kernel_major") <= 0 )); then
+ if (( $(vercmp "$ver_patch" "$ver2") <= 0 )) && (( $(vercmp "$kernel_patch" "$kernel_major") >= 0 )); then
patches+=("$patch")
fi
done