Files
pkgsrc-ng/net/samba/patches/patch-av
2013-09-26 17:14:40 +02:00

15 lines
388 B
Plaintext

$NetBSD: patch-av,v 1.4.14.1 2013/08/12 12:20:19 tron Exp $
--- smbd/server.c.orig 2013-07-29 18:55:18.000000000 +0000
+++ smbd/server.c
@@ -1154,6 +1154,9 @@ extern void build_options(bool screen);
if (!directory_exist(lp_lockdir()))
mkdir(lp_lockdir(), 0755);
+ if (!directory_exist(lp_statedir()))
+ mkdir(lp_statedir(), 0755);
+
if (is_daemon)
pidfile_create("smbd");