Halt execution on first error
If you're not going to check the return status of each command at least halt the script at the first error rather than blindly continuing.
This commit is contained in:
@@ -1,5 +1,7 @@
|
||||
#! /usr/bin/env bash
|
||||
|
||||
set -x
|
||||
|
||||
## Bash script to setup EdgeTX v2.4 development environment on Ubuntu 20.04 running on bare-metal or in a virtual machine.
|
||||
## Does NOT work with WSL/WSL2 under Windows 10!
|
||||
## Let it run as normal user and when asked, give sudo credentials
|
||||
|
||||
Reference in New Issue
Block a user