mirror of
https://github.com/systemd/systemd.git
synced 2024-11-07 09:56:51 +03:00
core,nspawn: minor coding style fixes
This commit is contained in:
parent
3c747da38c
commit
97044145b4
@ -2000,8 +2000,7 @@ int manager_loop(Manager *m) {
|
||||
m->exit_code = MANAGER_OK;
|
||||
|
||||
/* Release the path cache */
|
||||
set_free_free(m->unit_path_cache);
|
||||
m->unit_path_cache = NULL;
|
||||
m->unit_path_cache = set_free_free(m->unit_path_cache);
|
||||
|
||||
manager_check_finished(m);
|
||||
|
||||
@ -2771,8 +2770,7 @@ static int create_generator_dir(Manager *m, char **generator, const char *name)
|
||||
return log_oom();
|
||||
|
||||
if (!mkdtemp(p)) {
|
||||
log_error_errno(errno, "Failed to create generator directory %s: %m",
|
||||
p);
|
||||
log_error_errno(errno, "Failed to create generator directory %s: %m", p);
|
||||
free(p);
|
||||
return -errno;
|
||||
}
|
||||
|
@ -3227,8 +3227,7 @@ int main(int argc, char *argv[]) {
|
||||
}
|
||||
|
||||
for (;;) {
|
||||
_cleanup_close_pair_ int kmsg_socket_pair[2] = { -1, -1 }, rtnl_socket_pair[2] = { -1, -1 }, pid_socket_pair[2] = { -1, -1 },
|
||||
uid_shift_socket_pair[2] = { -1, -1 };
|
||||
_cleanup_close_pair_ int kmsg_socket_pair[2] = { -1, -1 }, rtnl_socket_pair[2] = { -1, -1 }, pid_socket_pair[2] = { -1, -1 }, uid_shift_socket_pair[2] = { -1, -1 };
|
||||
ContainerStatus container_status;
|
||||
_cleanup_(barrier_destroy) Barrier barrier = BARRIER_NULL;
|
||||
static const struct sigaction sa = {
|
||||
|
Loading…
Reference in New Issue
Block a user