Files
pkgsrc-ng/net/samba/patches/patch-av
2014-11-05 12:41:07 +01:00

15 lines
383 B
Plaintext

$NetBSD: patch-av,v 1.5 2013/08/12 02:45:55 taca 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");