Skip to content

Add error detection to ubuntu_chroot_armbian #2964

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 25, 2025

Conversation

hboyd2003
Copy link
Contributor

This pull request adds error detection and messaging to the ubuntu_chroot_armbian.sh script to ensure that the build stops if any part of the the script fails.

The logic of each function within ubuntu_chroot_armbian.sh was surrounded with a trap that would call error_msg to exit the script and print an error message if a command failed.

@ophub ophub merged commit 820d131 into ophub:main May 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants