manager: Restore direct return if database URI is not defined

There was an exit anyway because storage_create() returns NULL if the
database can't be created.
This commit is contained in:
Tobias Brunner 2018-09-17 16:30:51 +02:00
parent 1295558ab3
commit 3552bba63a
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ int main (int arc, char *argv[])
{
DBG1(DBG_LIB, "database URI undefined, set manager.database "
"in strongswan.conf");
//return 1;
return 1;
}
storage = storage_create(database);