blob: 41396946190e1cfdb1fad25fc5e4b849438fba05 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-bp,v 1.1 2005/11/14 08:05:28 jlam Exp $
--- smbd/server.c.orig 2005-10-12 13:03:25.000000000 -0400
+++ smbd/server.c
@@ -867,6 +867,9 @@ void build_options(BOOL screen);
if (!directory_exist(lp_lockdir(), NULL))
mkdir(lp_lockdir(), 0755);
+ if (!directory_exist(lp_statedir(), NULL))
+ mkdir(lp_statedir(), 0755);
+
if (is_daemon)
pidfile_create("smbd");
|