mirror of
https://github.com/moepman/acertmgr.git
synced 2024-12-29 09:21:51 +01:00
Avoid race condition which is triggered when debugging misconfigurations
This commit is contained in:
parent
2dbae6673a
commit
6599c49476
@ -107,8 +107,8 @@ def cert_get(domains, settings):
|
||||
|
||||
finally:
|
||||
if settings['mode'] == 'standalone':
|
||||
os.chdir(current_dir)
|
||||
server.stop()
|
||||
os.chdir(current_dir)
|
||||
os.remove(csr_file)
|
||||
os.remove(crt_file)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user