Store the name of the daemon that initialized libhydra to load daemon-specific settings.

This commit is contained in:
Tobias Brunner
2010-04-06 12:47:40 +02:00
parent e82b5755be
commit facf887253
4 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -289,7 +289,7 @@ int main(int argc, char *argv[])
exit(SS_RC_DAEMON_INTEGRITY);
}
if (!libhydra_init())
if (!libhydra_init("charon"))
{
dbg_stderr(1, "initialization failed - aborting charon");
libhydra_deinit();