🥅 Set basic flags for error handling
This commit is contained in:
parent
65a779a2ed
commit
10385fff58
1 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,9 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
# Error handling
|
||||||
|
set -e
|
||||||
|
set -u
|
||||||
|
|
||||||
# For styling/colorizing output
|
# For styling/colorizing output
|
||||||
txtbld=$(tput bold)
|
txtbld=$(tput bold)
|
||||||
txtblue=${txtbld}$(tput setaf 4)
|
txtblue=${txtbld}$(tput setaf 4)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue