aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/subcommands/backup.bash4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/subcommands/backup.bash b/lib/subcommands/backup.bash
index 3a7b426..65a5d88 100644
--- a/lib/subcommands/backup.bash
+++ b/lib/subcommands/backup.bash
@@ -6,11 +6,11 @@
subcommand() {
# Retrieve the passphrase used by Borg
- BORG_PASSPHRASE="$(config "bashtard.backup.key")"
+ BORG_PASSPHRASE="$(config "bashtard.backup.passphrase")"
if [[ -z "$BORG_PASSPHRASE" ]]
then
- emerg "$BASHTARD_NAME/backup" "No backup key configured"
+ emerg "$BASHTARD_NAME/backup" "No passphrase set in bashtard.backup.passphrase"
return 3
fi