Set error handling options

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2017-09-13 15:45:32 +02:00
parent 6329c44ea0
commit 897ae8842c
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -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"