From 920e144c8146c32a3774cc847870377cb79cdd4b Mon Sep 17 00:00:00 2001 From: Thomas Waldmann Date: Mon, 5 Mar 2018 15:21:17 +0100 Subject: [PATCH] be more clear in secure-erase warning message, fixes #3591 (cherry picked from commit fe65ccf95af52867c52538d8ec4aeed7655a1ab4) --- src/borg/repository.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/borg/repository.py b/src/borg/repository.py index 7fbc00ef6..7d1bcdd6f 100644 --- a/src/borg/repository.py +++ b/src/borg/repository.py @@ -281,7 +281,8 @@ class Repository: os.link(config_path, old_config_path) except OSError as e: if e.errno in (errno.EMLINK, errno.ENOSYS, errno.EPERM, errno.ENOTSUP): - logger.warning("Hardlink failed, cannot securely erase old config file") + logger.warning("Failed to securely erase old repository config file (hardlinks not supported>). " + "Old repokey data, if any, might persist on physical storage.") else: raise