Skip to content

Commit

Permalink
fix: exit when bcc install fails
Browse files Browse the repository at this point in the history
  • Loading branch information
Zachary Bailey committed Oct 11, 2024
1 parent 95b70a8 commit 1ae6ccc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vhdbuilder/packer/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 1ae6ccc

Please sign in to comment.