summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--CHANGE-LOG1
-rw-r--r--pts-core/functions/pts-functions.php4
2 files changed, 3 insertions, 2 deletions
diff --git a/CHANGE-LOG b/CHANGE-LOG
index d546521..624bf90 100644
--- a/CHANGE-LOG
+++ b/CHANGE-LOG
@@ -14,6 +14,7 @@ Phoronix Test Suite
- pts-core: Improved chipset / Northbridge detection
- pts-core: Don't emit errors in pts_extended_init() if making the download cache directory failed due to read only file-system if specified
- pts-core: pts_module_processes() contains an array of all supported module processes
+- pts-core: Fix regression that caused pts_process_remove() to run when checking a process status using pts_process_active()
- documentation: Update the test profile and suite XML specifications
Phoronix Test Suite 1.2.0 Beta 3
diff --git a/pts-core/functions/pts-functions.php b/pts-core/functions/pts-functions.php
index c47c695..78a265b 100644
--- a/pts-core/functions/pts-functions.php
+++ b/pts-core/functions/pts-functions.php
@@ -251,8 +251,8 @@ function pts_process_active($process)
if(strpos($ps, "php") > 0)
$active = true;
-
- pts_process_remove($process);
+ else
+ pts_process_remove($process);
}
return $active;
}