check return of DB creation command

This commit is contained in:
Sarah Hoffmann
2012-12-15 11:31:25 +01:00
parent b86d5c6a42
commit e9535b3607

View File

@@ -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'])