From fc1b8d75c6ecd1c6baa168a67e131c58028a9b4e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Mon, 10 Jul 2017 12:33:50 +0200 Subject: [PATCH] ctl: reset variables to avoid confusion in traces (#17486) --- wcs/ctl/start.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/wcs/ctl/start.py b/wcs/ctl/start.py index 54d2facc..256aaf41 100644 --- a/wcs/ctl/start.py +++ b/wcs/ctl/start.py @@ -105,6 +105,10 @@ class CmdStart(Command): pub.cleanup() quixote.cleanup() + # reset variables to avoid confusion in traces + tenant_path = None + hostname = None + if sub_options.daemonize: try: pid = os.fork() -- 2.13.2