Abort if a command fails
With this shell attribute, the script will abort if any of the executed commands exits with a non-zero status.
This commit is contained in:
@@ -1,2 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
### Setup Fedora ###
|
### Setup Fedora ###
|
||||||
|
# Abort on errors
|
||||||
|
set -e
|
||||||
Reference in New Issue
Block a user