浏览代码

Merge pull request #6568 from jwilk-forks/secure-erase-msg

Remove stray punctuation from secure-erase message
TW 3 年之前
父节点
当前提交
6bb75ddf6b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/borg/repository.py

+ 1 - 1
src/borg/repository.py

@@ -309,7 +309,7 @@ class Repository:
             secure_erase(old_config_path)
             secure_erase(old_config_path)
 
 
         if os.path.isfile(config_path):
         if os.path.isfile(config_path):
-            link_error_msg = ("Failed to securely erase old repository config file (hardlinks not supported>). "
+            link_error_msg = ("Failed to securely erase old repository config file (hardlinks not supported). "
                               "Old repokey data, if any, might persist on physical storage.")
                               "Old repokey data, if any, might persist on physical storage.")
             try:
             try:
                 os.link(config_path, old_config_path)
                 os.link(config_path, old_config_path)