diff options
author | Patrick Spek <p.spek@tyil.nl> | 2022-05-26 21:28:47 +0200 |
---|---|---|
committer | Patrick Spek <p.spek@tyil.nl> | 2022-05-26 21:28:47 +0200 |
commit | 36f43b055abf1b348b5ef49f03dd3d8d30792f4a (patch) | |
tree | 15b2e2fca97bc4cab93446acf6fb7c650eece2dc /lib | |
parent | d611f0d71dbfffde16e3d8bea01557237cc2c6ae (diff) |
Rename key to passphrase
Diffstat (limited to 'lib')
-rw-r--r-- | lib/subcommands/backup.bash | 4 |
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 |