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:
+1
-1
@@ -50,7 +50,7 @@ int main (int arc, char *argv[])
|
|||||||
{
|
{
|
||||||
DBG1(DBG_LIB, "database URI undefined, set manager.database "
|
DBG1(DBG_LIB, "database URI undefined, set manager.database "
|
||||||
"in strongswan.conf");
|
"in strongswan.conf");
|
||||||
//return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
storage = storage_create(database);
|
storage = storage_create(database);
|
||||||
|
|||||||
Reference in New Issue
Block a user