From 6599c494769129fd67acba98fbcd2e59e6eda45b Mon Sep 17 00:00:00 2001 From: David Klaftenegger Date: Mon, 4 Apr 2016 19:12:51 +0200 Subject: [PATCH] Avoid race condition which is triggered when debugging misconfigurations --- acertmgr.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/acertmgr.py b/acertmgr.py index d71bf39..1c93761 100755 --- a/acertmgr.py +++ b/acertmgr.py @@ -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)