Merge pull request #6621 from ThomasWaldmann/secure-erase-msg-1.1

remove stray punctuation from secure-erase message
This commit is contained in:
TW 2022-04-18 10:01:23 +02:00 committed by GitHub
commit 0c79bd8e4a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -304,7 +304,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)