X-Git-Url: https://git.openstreetmap.org./nominatim.git/blobdiff_plain/defb809b834ba2cd8ee8025fc829f16511855961..08b6fffc3638a06ee1dc7fe67fd8f7c708babeac:/utils/setup.php?ds=sidebyside diff --git a/utils/setup.php b/utils/setup.php index 9e946035..e256289c 100755 --- a/utils/setup.php +++ b/utils/setup.php @@ -762,6 +762,7 @@ while(strlen($sScript)) { $written = fwrite($ahPipes[0], $sScript); + if ($written <= 0) break; $sScript = substr($sScript, $written); } fclose($ahPipes[0]);