diff --git a/vhdbuilder/packer/install-dependencies.sh b/vhdbuilder/packer/install-dependencies.sh index c77e8300555..bab254d6f4a 100644 --- a/vhdbuilder/packer/install-dependencies.sh +++ b/vhdbuilder/packer/install-dependencies.sh @@ -552,6 +552,7 @@ if [ $BCC_EXIT_CODE -eq 0 ]; then EOF else echo "Error: installBcc subshell failed with exit code $BCC_EXIT_CODE" >&2 + exit $BCC_EXIT_CODE fi chmod 755 /var/log/bcc_installation.log capture_benchmark "${SCRIPT_NAME}_finish_installing_bcc_tools"