--- a/debian/scripts/misc/arch-has-odm-enabled.sh 2022-01-10 16:06:28.000000000 +0100 +++ b/debian/scripts/misc/arch-has-odm-enabled.sh 2022-01-10 17:35:51.197643318 +0100 @@ -5,7 +5,7 @@ if [ "$1" = "" ]; then # This would be set doing the actual kernel build if [ "$KBUILD_VERBOSE" = "" ]; then - return 1 + exit 1 fi case $ARCH in x86) ARCH=amd64;; @@ -24,7 +24,7 @@ eval $(cat $RULESDIR/$f | sed -n -e '/do_odm_drivers/s/ \+//gp') done if [ "$do_odm_drivers" != "true" ]; then - return 1 + exit 1 fi -return 0 +exit 0