diff --git a/scripts/applyPatches.sh b/scripts/applyPatches.sh index 2e282a60b219..a93555fb992c 100755 --- a/scripts/applyPatches.sh +++ b/scripts/applyPatches.sh @@ -45,4 +45,5 @@ if [ "$EXIT_CODE" -eq 0 ]; then else # patch-package failed error "patch-package failed to apply a patch" + exit "$EXIT_CODE" fi