mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
s3: piddir creation fix.
Since the piddir got moved from the lockdir by default, the default piddir wasn't getting created stopping some configurations from running. Signed-off-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
7b1fb08842
commit
25fbf907e9
@ -1216,6 +1216,9 @@ extern void build_options(bool screen);
|
||||
if (!directory_exist(lp_lockdir()))
|
||||
mkdir(lp_lockdir(), 0755);
|
||||
|
||||
if (!directory_exist(lp_piddir()))
|
||||
mkdir(lp_piddir(), 0755);
|
||||
|
||||
if (is_daemon)
|
||||
pidfile_create("smbd");
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user