From f18ca6107fbb66a1288b1c648fceb110af0ed6ff Mon Sep 17 00:00:00 2001 From: Philipp Date: Sun, 27 Oct 2019 23:10:33 +0100 Subject: [PATCH] Abort script on error --- init-letsencrypt.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/init-letsencrypt.sh b/init-letsencrypt.sh index 4509eff..f282b37 100755 --- a/init-letsencrypt.sh +++ b/init-letsencrypt.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e domains=(example.com www.example.com) # Specify domains here or use the -d argument data_path="./data/certbot" # Specify data path here or use the --data-path argument