]> git.openstreetmap.org Git - nominatim.git/blobdiff - lib-php/admin/setup.php
bdd: use python library where possible
[nominatim.git] / lib-php / admin / setup.php
index 6493460d305695c3a5a49246c5e7d67e25c6d5fc..3aa6b828d15c336e102018a4c6cb6f4774a6171d 100644 (file)
@@ -69,7 +69,11 @@ $iInstances = max(1, $aCMDResult['threads'] ?? (min(16, getProcessorCount()) - 1
 
 function run($oCmd) {
     global $iInstances;
+    global $aCMDResult;
     $oCmd->addParams('--threads', $iInstances);
+    if ($aCMDResult['ignore-errors'] ?? false) {
+        $oCmd->addParams('--ignore-errors');
+    }
     $oCmd->run(true);
 }