Skip to content

Commit

Permalink
We need to exit compiling if an error occurred.
Browse files Browse the repository at this point in the history
  • Loading branch information
ravindu644 authored Mar 20, 2024
1 parent c010a23 commit 49c8740
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build_kernel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ build_ksu(){
cd "$work_dir"
echo -e "\n\n[+] Compiling KernelSU + Enforcing..\n\n"
make ${ARGS} "$exynos_defconfig"
make ${ARGS} -j"$(nproc)"
make ${ARGS} -j"$(nproc)" || exit 1
dtb_img
mv "$work_dir/arch/arm64/boot/Image" "$dt_tool/AIK/split_img/boot.img-kernel"
checks_ksu
Expand Down

0 comments on commit 49c8740

Please sign in to comment.