diff options
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/testparm.c | 6 |
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. */ |