1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2025-03-20 19:05:46 +00:00

Merge pull request from ThomasWaldmann/quote-repo-path-1.1

Properly quote repo path in `borg init` output (1.1)
This commit is contained in:
TW 2017-12-23 19:24:46 +01:00 committed by GitHub
commit 9ae4e0dcb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -279,10 +279,10 @@ class Archiver:
'errors if written to with an older version (up to and including Borg 1.0.8).\n' 'errors if written to with an older version (up to and including Borg 1.0.8).\n'
'\n' '\n'
'If you want to use these older versions, you can disable the check by running:\n' 'If you want to use these older versions, you can disable the check by running:\n'
'borg upgrade --disable-tam \'%s\'\n' 'borg upgrade --disable-tam %s\n'
'\n' '\n'
'See https://borgbackup.readthedocs.io/en/stable/changes.html#pre-1-0-9-manifest-spoofing-vulnerability ' 'See https://borgbackup.readthedocs.io/en/stable/changes.html#pre-1-0-9-manifest-spoofing-vulnerability '
'for details about the security implications.', path) 'for details about the security implications.', shlex.quote(path))
return self.exit_code return self.exit_code
@with_repository(exclusive=True, manifest=False) @with_repository(exclusive=True, manifest=False)