Set error handling options
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
6329c44ea0
commit
897ae8842c
1 changed files with 3 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -o pipefail
|
||||||
|
|
||||||
COLOR_RED="\033[0;31m"
|
COLOR_RED="\033[0;31m"
|
||||||
COLOR_GREEN="\033[0;32m"
|
COLOR_GREEN="\033[0;32m"
|
||||||
COLOR_CYAN="\033[0;36m"
|
COLOR_CYAN="\033[0;36m"
|
||||||
|
|
Loading…
Reference in a new issue