From 36f43b055abf1b348b5ef49f03dd3d8d30792f4a Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 26 May 2022 21:28:47 +0200 Subject: Rename key to passphrase --- lib/subcommands/backup.bash | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.1