Skip to content

Commit

Permalink
kmodtool: cleanup
Browse files Browse the repository at this point in the history
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz>
Closes openzfs#13447
  • Loading branch information
nabijaczleweli authored and nicman23 committed Aug 22, 2022
1 parent 0ae3dac commit 669f518
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions scripts/kmodtool
Original file line number Diff line number Diff line change
Expand Up @@ -557,12 +557,8 @@ else
cmdoptions="${cmdoptions} --filterfile ${filterfile}"
fi

kernel_versions_to_build_for=$(buildsys-build-${repo}-kerneldevpkgs "--${build_kernels}" ${cmdoptions})
returncode=$?
if [ "$returncode" -ne 0 ]; then

kernel_versions_to_build_for=$(buildsys-build-${repo}-kerneldevpkgs "--${build_kernels}" ${cmdoptions}) ||
error_out 2 "buildsys-build-${repo}-kerneldevpkgs failed: ${kernel_versions_to_build_for}"
fi

if [ "${build_kernels}" = "current" ] && [ -z "${noakmod}" ]; then
print_akmodtemplate
Expand Down

0 comments on commit 669f518

Please sign in to comment.