diff options
Diffstat (limited to 'core/CliMulti/Process.php')
-rw-r--r-- | core/CliMulti/Process.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/CliMulti/Process.php b/core/CliMulti/Process.php index e1d702fdf1..db2d5b2cd0 100644 --- a/core/CliMulti/Process.php +++ b/core/CliMulti/Process.php @@ -14,7 +14,7 @@ use Piwik\SettingsServer; /** * There are three different states * - PID file exists with empty content: Process is created but not started - * - PID file exists with the actual process PID as content: Process is runnning + * - PID file exists with the actual process PID as content: Process is running * - PID file does not exist: Process is marked as finished * * Class Process @@ -235,7 +235,7 @@ class Process return true; } // Testing if /proc is a resource with @fopen fails on systems with open_basedir set. - // by using stat we not only test the existance of /proc but also confirm it's a 'proc' filesystem + // by using stat we not only test the existence of /proc but also confirm it's a 'proc' filesystem $type = @shell_exec('stat -f -c "%T" /proc 2>/dev/null'); return strpos($type, 'proc') === 0; } |