From 2883197b37b194e7b646168bbc936c7c6368700d Mon Sep 17 00:00:00 2001 From: Jonas Forsberg Date: Wed, 14 Oct 2020 10:44:01 +0200 Subject: [PATCH] added bash set builtin --- bin/borg.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/borg.sh b/bin/borg.sh index 1347674..bff4b2e 100755 --- a/bin/borg.sh +++ b/bin/borg.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -aeou pipefail [[ ! -f "$HOME"/.borgbackup.env ]] && printf "\$HOME/.borgbackup.env doesn't exist!\n" && exit 1