From 897ae8842c277ae993ef5dc9f7235013e296b957 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Wed, 13 Sep 2017 15:45:32 +0200 Subject: [PATCH] Set error handling options Signed-off-by: Knut Ahlers --- bin/vault-sshadd | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/vault-sshadd b/bin/vault-sshadd index 35ae771..b2b816d 100755 --- a/bin/vault-sshadd +++ b/bin/vault-sshadd @@ -1,5 +1,8 @@ #!/bin/bash +set -e +set -o pipefail + COLOR_RED="\033[0;31m" COLOR_GREEN="\033[0;32m" COLOR_CYAN="\033[0;36m"