]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib/lib.php
test: catch script output in as debug log output
[nominatim.git] / lib / lib.php
index 5edd732889cb847247515eff64461eb256007a01..fccda314e52904458396953d8f00d858fb7d8516 100644 (file)
@@ -77,7 +77,7 @@
        function getProcessorCount()
        {
                $sCPU = file_get_contents('/proc/cpuinfo');
-               preg_match_all('#processor  : [0-9]+#', $sCPU, $aMatches);
+               preg_match_all('#processor\s+: [0-9]+#', $sCPU, $aMatches);
                return sizeof($aMatches[0]);
        }