summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2002-05-09 04:08:00 +0000
committerGerald Carter <jerry@samba.org>2002-05-09 04:08:00 +0000
commit4db4e95ab2140e179d0f15ad390b7a994b6642f2 (patch)
tree7c5829c3a3d11860fc164b9f0aa7c593eb4d0a62 /source3/utils
parent9ac3ca512a4d6a99848c708d1b83adcb0d452b59 (diff)
downloadsamba-4db4e95ab2140e179d0f15ad390b7a994b6642f2.tar.gz
samba-4db4e95ab2140e179d0f15ad390b7a994b6642f2.tar.bz2
samba-4db4e95ab2140e179d0f15ad390b7a994b6642f2.zip
pidfile merge from SAMBA_2_2 (including --with-fhs) and a few other minor things; compiles and shouldnt break, but needs testing
(This used to be commit 19b9b50d9039afe614284aaf379f9f1078e2e307)
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/testparm.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c
index c6e417a2bc..b727f883fd 100644
--- a/source3/utils/testparm.c
+++ b/source3/utils/testparm.c
@@ -67,6 +67,12 @@ cannot be set in the smb.conf file. nmbd will abort with this setting.\n");
ret = 1;
}
+ if (!directory_exist(lp_piddir(), &st)) {
+ printf("ERROR: pid directory %s does not exist\n",
+ lp_piddir());
+ ret = 1;
+ }
+
/*
* Password server sanity checks.
*/