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:
parent
0eb19b5728
commit
029d4bb5e3
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user