Summary
Description: Unnamed repository; edit this file to name it for gitweb.
Last Change: Wed 2/3/10 13:04
Recent Commits
>
--git a/pts-core/functions/pts-functions_linux.php b/pts-core/functions/pts-functions_linux.php
index 5141cd9..66c6f89 100644
--- a/pts-core/functions/pts-functions_linux.php
+++ b/pts-core/functions/pts-functions_linux.php
@@ -16,7 +16,7 @@ function pts_process_running_string($process)
}
function pts_process_running_bool($process)
{
- $running = trim(shell_exec("ps -A | grep " . strtolower($process)));
+ $running = trim(shell_exec("ps -C " . strtolower($process)));
if(!empty($running))
$running = true;
<
Copyright © 2010 by Phoronix Media