blob: 1b54ba594d5ba256ea2f27a49099b8164a8bf7c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
$NetBSD: patch-bp,v 1.3 2006/04/01 04:55:35 jlam Exp $
--- smbd/server.c.orig 2006-01-24 18:46:32.000000000 -0500
+++ smbd/server.c
@@ -868,6 +868,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");
|