diff --git a/parser/Makefile b/parser/Makefile index 350b0c89d..038be2b60 100644 --- a/parser/Makefile +++ b/parser/Makefile @@ -181,7 +181,7 @@ $(LIBAPPARMOR_A): echo "error: $@ is missing. Pick one of these possible solutions:" 1>&2; \ echo " 1) Build against the in-tree libapparmor by building it first and then trying again. See the top-level README for help." 1>&2; \ echo " 2) Build against the system libapparmor by adding USE_SYSTEM=1 to your make command." 1>&2;\ - return 1; \ + exit 1; \ fi endif diff --git a/utils/test/Makefile b/utils/test/Makefile index 90f694cf5..e582a590e 100644 --- a/utils/test/Makefile +++ b/utils/test/Makefile @@ -43,7 +43,7 @@ ifndef USE_SYSTEM echo "error: $(LD_LIBRARY_PATH)libapparmor.so is missing. Pick one of these possible solutions:" 1>&2; \ echo " 1) Build against the in-tree libapparmor by building it first and then trying again. See the top-level README for help." 1>&2; \ echo " 2) Build against the system libapparmor by adding USE_SYSTEM=1 to your make command." 1>&2; \ - return 1; \ + exit 1; \ fi endif