1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-03 04:22:09 +03:00

s3:smbd: only call file_init_global() in the parent smbd

metze
This commit is contained in:
Stefan Metzmacher
2012-05-24 12:26:46 +02:00
parent 9e45885fcc
commit 288a75d8dc
2 changed files with 6 additions and 2 deletions

View File

@ -1436,8 +1436,8 @@ extern void build_options(bool screen);
return -1;
}
if (!file_init(smbd_server_conn)) {
DEBUG(0, ("ERROR: file_init failed\n"));
if (!file_init_global()) {
DEBUG(0, ("ERROR: file_init_global() failed\n"));
return -1;
}