conf: create ntsdumpdir directory
Create the directory specified by the ntsdumpdir directive if it doesn't exist, similarly to logdir and dumpdir.
This commit is contained in:
parent
3bdcce6903
commit
dc08cbfe59
1 changed files with 2 additions and 0 deletions
2
conf.c
2
conf.c
|
@ -1769,6 +1769,8 @@ CNF_CreateDirs(uid_t uid, gid_t gid)
|
|||
UTI_CreateDirAndParents(logdir, 0750, uid, gid);
|
||||
if (dumpdir)
|
||||
UTI_CreateDirAndParents(dumpdir, 0750, uid, gid);
|
||||
if (nts_dump_dir)
|
||||
UTI_CreateDirAndParents(nts_dump_dir, 0750, uid, gid);
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
|
Loading…
Reference in a new issue