X-Git-Url: https://git.lttng.org/?p=lttng-ust.git;a=blobdiff_plain;f=src%2Fpython-lttngust%2Flttngust%2Fagent.py;fp=src%2Fpython-lttngust%2Flttngust%2Fagent.py;h=d0c1af7ca8eab3883129e9e889012d48735d7cd2;hp=58845b569c70ad75076872f11ce2e9de767c1adc;hb=2dbe84f739b26671faf2b2a15a91e5edb132bf1a;hpb=3287f48be61ef3491aff0a80b7185ac57b3d8a5d diff --git a/src/python-lttngust/lttngust/agent.py b/src/python-lttngust/lttngust/agent.py index 58845b56..d0c1af7c 100644 --- a/src/python-lttngust/lttngust/agent.py +++ b/src/python-lttngust/lttngust/agent.py @@ -316,6 +316,7 @@ def _init_threads(): user_port = None dbg._pdebug('ust_app session daemon port: {}'.format(ust_app_port)) else: + ust_app_port = None sys_port = _get_port_from_file('/var/run/lttng/agent.port') user_port_file = os.path.join(_get_user_home_path(), '.lttng', 'agent.port') user_port = _get_port_from_file(user_port_file)