diff --git a/src/borg/archiver.py b/src/borg/archiver.py index bf4be41a7..60d29f45c 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -252,10 +252,10 @@ def do_init(self, args, repository): 'errors if written to with an older version (up to and including Borg 1.0.8).\n' '\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' '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 @with_repository(exclusive=True, manifest=False)