mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-28 02:38:43 +00:00
migrate-to-repokey: ask using canonical_path() as we do everywhere else
This commit is contained in:
parent
4e0422cdf0
commit
5bc03cc042
1 changed files with 1 additions and 1 deletions
|
@ -476,7 +476,7 @@ def create(cls, repository, args):
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def detect(cls, repository, manifest_data):
|
def detect(cls, repository, manifest_data):
|
||||||
prompt = 'Enter passphrase for %s: ' % repository._location.orig
|
prompt = 'Enter passphrase for %s: ' % repository._location.canonical_path()
|
||||||
key = cls(repository)
|
key = cls(repository)
|
||||||
passphrase = Passphrase.env_passphrase()
|
passphrase = Passphrase.env_passphrase()
|
||||||
if passphrase is None:
|
if passphrase is None:
|
||||||
|
|
Loading…
Reference in a new issue