mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:52:02 +02:00
Avoid deleting the workspace twice. (#7923)
This commit is contained in:
@@ -86,6 +86,7 @@ class ACMEServer(object):
|
||||
'alpine', 'rm', '-rf', '/workspace/boulder'])
|
||||
process.wait()
|
||||
finally:
|
||||
if os.path.exists(self._workspace):
|
||||
shutil.rmtree(self._workspace)
|
||||
if self._stdout != sys.stdout:
|
||||
self._stdout.close()
|
||||
|
||||
Reference in New Issue
Block a user