mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
util: add mode, uid, gid parameters to UTI_CreateDirAndParents()
This commit is contained in:
@@ -306,9 +306,7 @@ LOG_CreateLogFileDir(void)
|
||||
|
||||
logdir = CNF_GetLogDir();
|
||||
|
||||
if (!UTI_CreateDirAndParents(logdir)) {
|
||||
LOG(LOGS_ERR, LOGF_Logging, "Could not create directory %s", logdir);
|
||||
}
|
||||
UTI_CreateDirAndParents(logdir, 0755, 0, 0);
|
||||
}
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
Reference in New Issue
Block a user