summaryrefslogtreecommitdiff
path: root/.duply
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2020-10-25 10:34:18 -0700
committerSean Whitton <spwhitton@spwhitton.name>2020-10-25 10:34:18 -0700
commitb3b7f258812d00644311ca2e8a889179aff4d103 (patch)
tree46b9b86f60e207405ecb2f1fa12a0d3e6d51ec4b /.duply
parent2470ea35b8cbb968f92a6c1beacebd8a65ecf51f (diff)
downloaddotfiles-b3b7f258812d00644311ca2e8a889179aff4d103.tar.gz
guard reading backups auth
Diffstat (limited to '.duply')
-rw-r--r--.duply/melete-spwhitton-home/conf3
1 files changed, 3 insertions, 0 deletions
diff --git a/.duply/melete-spwhitton-home/conf b/.duply/melete-spwhitton-home/conf
index 15afad8d..f4f5c5aa 100644
--- a/.duply/melete-spwhitton-home/conf
+++ b/.duply/melete-spwhitton-home/conf
@@ -2,7 +2,10 @@
# you'll find a fully-commented configuration file in
# ~/.duply/sample/conf
+# ensure we get an error, rather than an unencrypted backup, if this file not in place yet
+set -e
. "$HOME/local/auth/duply/melete-spwhitton-home"
+set +e
#GPG_TEST='disabled'