]> git.openstreetmap.org Git - nominatim.git/blobdiff - utils/setup.php
add finished message to setup.php
[nominatim.git] / utils / setup.php
index a1d8ae5db9ef1d122c11ca9a55e6df41773d0e08..81d584f6280cd960df5990751939ce6818d2bdea 100755 (executable)
        {
                showUsage($aCMDOptions, true);
        }
+       else
+       {
+               echo "Setup finished.\n";
+       }
 
        function pgsqlRunScriptFile($sFilename)
        {
                fclose($ahPipes[1]);
 
                $iReturn = proc_close($hProcess);
-               if ($iReturn > 0)
-               {
-                       fail("pgsql returned with error code ($iReturn)");
-               }
        }
 
        function pgsqlRunDropAndRestore($sDumpFile)
                fclose($ahPipes[1]);
 
                $iReturn = proc_close($hProcess);
-               if ($iReturn > 0)
-               {
-                       fail("pgsql returned with error code ($iReturn)");
-               }
        }
 
        function passthruCheckReturn($cmd)