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

Remove stray punctuation from secure-erase message
This commit is contained in:
TW 2022-04-11 19:51:39 +02:00 committed by GitHub
commit 6bb75ddf6b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -309,7 +309,7 @@ class Repository:
secure_erase(old_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.")
try:
os.link(config_path, old_config_path)