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

15 lines
388 B
Plaintext

$NetBSD: patch-av,v 1.2.18.1 2013/08/12 14:21:30 tron Exp $
--- smbd/server.c.orig 2013-07-24 18:53:49.000000000 +0000
+++ smbd/server.c
@@ -1213,6 +1213,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");