mirror of https://github.com/apache/cloudstack.git
CLOUDSTACK-1181: Fix NPE, ignore if default path is not readable, we're passing props file anyway
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
(cherry picked from commit 7c003611d0)
Signed-off-by: Rohit Yadav <bhaisaab@apache.org>
This commit is contained in:
parent
6db11cb7de
commit
f95b0edaff
|
|
@ -156,7 +156,10 @@ public class DatabaseCreator {
|
|||
System.exit(1);
|
||||
}
|
||||
|
||||
Transaction.initDataSource(dbPropsFile);
|
||||
try {
|
||||
Transaction.initDataSource(dbPropsFile);
|
||||
} catch (NullPointerException e) {
|
||||
}
|
||||
initDB(dbPropsFile, rootPassword, databases, dryRun);
|
||||
|
||||
// Process sql files
|
||||
|
|
|
|||
Loading…
Reference in New Issue