mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 22:05:07 -05:00
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:
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);
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
Reference in New Issue
Block a user