blob: 6f093da3a37aafec7f6864d16a78e9b4c39f3fc8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
$NetBSD: patch-bq,v 1.1.1.1 2011/12/15 22:23:24 asau Exp $
--- utils/testparm.c.orig 2005-10-12 13:03:42.000000000 -0400
+++ utils/testparm.c
@@ -67,6 +67,12 @@ cannot be set in the smb.conf file. nmbd
ret = 1;
}
+ if (!directory_exist(lp_statedir(), &st)) {
+ fprintf(stderr, "ERROR: state directory %s does not exist\n",
+ lp_statedir());
+ ret = 1;
+ }
+
if (!directory_exist(lp_piddir(), &st)) {
fprintf(stderr, "ERROR: pid directory %s does not exist\n",
lp_piddir());
|