parent
5ae33613ab
commit
aacdba2bdb
|
|
@ -478,6 +478,11 @@ if [[ $regenerate_all == "yes" ]]; then
|
|||
((ret+=$?))
|
||||
done
|
||||
exit $ret
|
||||
elif [[ $kernel ]]; then
|
||||
if ! [[ -d /lib/modules/$kernel ]] && [[ $no_kernel != yes ]]; then
|
||||
printf -- "Kernel version $kernel has no modules in /lib/modules/$kernel\n" >&2
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
if ! [[ $kernel ]]; then
|
||||
|
|
|
|||
Loading…
Reference in New Issue