aboutsummaryrefslogtreecommitdiff
path: root/python/lifecycle.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/lifecycle.py')
-rw-r--r--python/lifecycle.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/lifecycle.py b/python/lifecycle.py
index 1a29e61..91e8b05 100644
--- a/python/lifecycle.py
+++ b/python/lifecycle.py
@@ -57,6 +57,8 @@ class LifecycleManager:
if profile.isAvailable():
profile.reserve()
break
+ else:
+ profile = None
"""Unlock the mutex enabling other processes to select same kernel config"""
# fcntl.flock(self.mutex, fcntl.LOCK_UN)