summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/framework/TestCmd.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/testing/framework/TestCmd.py b/testing/framework/TestCmd.py
index 18a0db4..fc5e328 100644
--- a/testing/framework/TestCmd.py
+++ b/testing/framework/TestCmd.py
@@ -400,7 +400,7 @@ def clean_up_ninja_daemon(self, result_type):
pidfiles = [daemon_dir / 'pidfile', path / 'scons_daemon_dirty']
for pidfile in pidfiles:
if pidfile.exists():
- with open(daemon_dir / 'pidfile') as f:
+ with open(pidfile) as f:
try:
pid = int(f.read())
os.kill(pid, signal.SIGINT)