mirror of
https://github.com/osm-search/Nominatim.git
synced 2026-02-15 19:07:58 +00:00
check return of DB creation command
This commit is contained in:
@@ -95,7 +95,7 @@
|
||||
{
|
||||
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'])
|
||||
|
||||
Reference in New Issue
Block a user