mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-26 11:08:13 +00:00
check return of DB creation command
This commit is contained in:
@@ -95,7 +95,7 @@
|
|||||||
{
|
{
|
||||||
fail('database already exists ('.CONST_Database_DSN.')');
|
fail('database already exists ('.CONST_Database_DSN.')');
|
||||||
}
|
}
|
||||||
passthru('createdb -E UTF-8 '.$aDSNInfo['database']);
|
passthruCheckReturn('createdb -E UTF-8 '.$aDSNInfo['database']);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($aCMDResult['setup-db'] || $aCMDResult['all'])
|
if ($aCMDResult['setup-db'] || $aCMDResult['all'])
|
||||||
|
|||||||
Reference in New Issue
Block a user