mirror of
https://github.com/certbot/certbot.git
synced 2026-06-06 23:32:06 -04:00
Fix the backup target path
This commit is contained in:
parent
a42cf70f71
commit
b0feb33b9b
1 changed files with 3 additions and 2 deletions
|
|
@ -266,8 +266,9 @@ class OCSPPrefetchMixin(object):
|
|||
self._ensure_ocsp_dirs()
|
||||
cache_path = os.path.join(self.config.work_dir, "ocsp", "ocsp_cache.db")
|
||||
try:
|
||||
apache_util.safe_copy(cache_path,
|
||||
os.path.join(self.config.work_dir, "ocsp_work"))
|
||||
apache_util.safe_copy(
|
||||
cache_path,
|
||||
os.path.join(self.config.work_dir, "ocsp_work", "ocsp_cache.db"))
|
||||
except IOError:
|
||||
logger.debug("Encountered an issue while trying to backup OCSP dbm file")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue