Skip to content

Commit

Permalink
correct the logic to compare with existed module.
Browse files Browse the repository at this point in the history
an issue reported from LP: #1838245
  • Loading branch information
Alex Tu committed Jul 30, 2019
1 parent b4b204c commit b957799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dkms
Expand Up @@ -805,7 +805,7 @@ check_version_sanity()
fi
set_module_suffix
read -a kernels_module < <(find_module "$lib_tree" "${4}")
[ -z $kernels_module ] || return 0
[ -z $kernels_module ] && return 0

if [[ ${kernels_module[1]} ]]; then
warn $"Warning! Cannot do version sanity checking because multiple ${4}$module_suffix" \
Expand Down

0 comments on commit b957799

Please sign in to comment.