Fix: python lttngust agent fails when LTTNG_UST_APP_PATH is not set
[lttng-ust.git] / src / python-lttngust / lttngust / agent.py
index 58845b569c70ad75076872f11ce2e9de767c1adc..d0c1af7ca8eab3883129e9e889012d48735d7cd2 100644 (file)
@@ -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)
This page took 0.023024 seconds and 4 git commands to generate.