mirror of
https://github.com/systemd/systemd.git
synced 2024-12-26 03:22:00 +03:00
core/execute: use FOREACH_ARRAY in one more place
This commit is contained in:
parent
3c1f396f69
commit
59026bccd0
@ -5259,8 +5259,8 @@ void exec_context_init(ExecContext *c) {
|
||||
.memory_ksm = -1,
|
||||
};
|
||||
|
||||
for (ExecDirectoryType t = 0; t < _EXEC_DIRECTORY_TYPE_MAX; t++)
|
||||
c->directories[t].mode = 0755;
|
||||
FOREACH_ARRAY(d, c->directories, _EXEC_DIRECTORY_TYPE_MAX)
|
||||
d->mode = 0755;
|
||||
|
||||
numa_policy_reset(&c->numa_policy);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user