- Timestamp:
- 2016-11-20T08:40:36Z (8 years ago)
- Children:
- 3f44e43
- Parents:
- ba52ac5 (diff), 9f03c47 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
unix.c
rba52ac5 r537d9b9 80 80 } 81 81 82 if (global.conf->runmode == RUNMODE_INETD) { 83 log_link(LOGLVL_ERROR, LOGOUTPUT_IRC); 84 log_link(LOGLVL_WARNING, LOGOUTPUT_IRC); 85 } else { 86 log_link(LOGLVL_ERROR, LOGOUTPUT_CONSOLE); 87 log_link(LOGLVL_WARNING, LOGOUTPUT_CONSOLE); 88 } 89 82 90 b_main_init(); 83 91 … … 104 112 } 105 113 114 global.auth = auth_init(global.conf->auth_backend); 115 if (global.conf->auth_backend && global.auth == NULL) { 116 log_message(LOGLVL_ERROR, "Unable to load authentication backend '%s'", global.conf->auth_backend); 117 return(1); 118 } 119 106 120 if (global.conf->runmode == RUNMODE_INETD) { 107 log_link(LOGLVL_ERROR, LOGOUTPUT_IRC);108 log_link(LOGLVL_WARNING, LOGOUTPUT_IRC);109 110 121 i = bitlbee_inetd_init(); 111 122 log_message(LOGLVL_INFO, "%s %s starting in inetd mode.", PACKAGE, BITLBEE_VERSION); 112 123 113 124 } else if (global.conf->runmode == RUNMODE_DAEMON) { 114 log_link(LOGLVL_ERROR, LOGOUTPUT_CONSOLE);115 log_link(LOGLVL_WARNING, LOGOUTPUT_CONSOLE);116 117 125 i = bitlbee_daemon_init(); 118 126 log_message(LOGLVL_INFO, "%s %s starting in daemon mode.", PACKAGE, BITLBEE_VERSION); 119 127 } else if (global.conf->runmode == RUNMODE_FORKDAEMON) { 120 log_link(LOGLVL_ERROR, LOGOUTPUT_CONSOLE);121 log_link(LOGLVL_WARNING, LOGOUTPUT_CONSOLE);122 123 128 /* In case the operator requests a restart, we need this. */ 124 129 old_cwd = g_malloc(256);
Note: See TracChangeset
for help on using the changeset viewer.