summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bitbake/lib/toaster/orm/models.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/toaster/orm/models.py b/bitbake/lib/toaster/orm/models.py
index 9a4db1e856..4f8510c4ec 100644
--- a/bitbake/lib/toaster/orm/models.py
+++ b/bitbake/lib/toaster/orm/models.py
@@ -1742,7 +1742,7 @@ def invalidate_cache(**kwargs):
1742def signal_runbuilds(): 1742def signal_runbuilds():
1743 """Send SIGUSR1 to runbuilds process""" 1743 """Send SIGUSR1 to runbuilds process"""
1744 try: 1744 try:
1745 with open(os.path.join(os.getenv('BUILDDIR'), 1745 with open(os.path.join(os.getenv('BUILDDIR', '.'),
1746 '.runbuilds.pid')) as pidf: 1746 '.runbuilds.pid')) as pidf:
1747 os.kill(int(pidf.read()), SIGUSR1) 1747 os.kill(int(pidf.read()), SIGUSR1)
1748 except FileNotFoundError: 1748 except FileNotFoundError: