git.samba.org
/
ira
/
wip.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3: piddir creation fix.
[ira/wip.git]
/
source3
/
smbd
/
server.c
diff --git
a/source3/smbd/server.c
b/source3/smbd/server.c
index cab23bc6d53ef27af0570c03ce8f402e37ea5904..bbb8614491860918eff7c89c11c93990b6a24ea4 100644
(file)
--- a/
source3/smbd/server.c
+++ b/
source3/smbd/server.c
@@
-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");