1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

r20966: Only attempt to reload the config file atfer the fork point if we

are in daemon mode. If we are in inetd mode, there's really no point
in rechecking it so soon.
This commit is contained in:
James Peach 2007-01-23 04:12:51 +00:00 committed by Gerald (Jerry) Carter
parent 0eb19b5728
commit 029d4bb5e3

View File

@ -1065,8 +1065,12 @@ extern void build_options(BOOL screen);
init_modules();
/* possibly reload the services file. */
reload_services(True);
/* Possibly reload the services file. Only worth doing in
* daemon mode. In inetd mode, we know we only just loaded this.
*/
if (is_daemon) {
reload_services(True);
}
if (!init_account_policy()) {
DEBUG(0,("Could not open account policy tdb.\n"));