1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +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:
Ira Cooper
2012-03-06 19:25:16 -05:00
committed by Jeremy Allison
parent 7b1fb08842
commit 25fbf907e9

View File

@ -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");