commit - e8e03519857f26315e5571c10ae1752ba5262f5c
commit + de3e5fa77ca1b726fe242d869836d3c1c71c2cfb
blob - f0cb15045993b9a5df1d587f7d19d343c4cc6797
blob + d76b47d4ba86dbf3969dfbae1544701c0e4d9608
--- src/ngircd/ngircd.c
+++ src/ngircd/ngircd.c
/* Initialize the "main program": chroot environment, user and
* group ID, ... */
if (!NGIRCd_Init(NGIRCd_NoDaemon)) {
- Log(LOG_ALERT, "Fatal: Initialization failed");
+ Log(LOG_ALERT, "Fatal: Initialization failed, exiting!");
exit(1);
}
}
/* SSL initialization */
- if (!ConnSSL_InitLibrary())
- Log(LOG_WARNING,
- "Error during SSL initialization, continuing without SSL ...");
+ if (!ConnSSL_InitLibrary()) {
+ Log(LOG_ERR, "Error during SSL initialization!");
+ goto out;
+ }
/* Change root */
if (Conf_Chroot[0]) {