nspawn: minor simplification

This commit is contained in:
Lennart Poettering 2020-04-22 17:12:08 +02:00
parent 73781de41f
commit 1433e0f212
1 changed files with 3 additions and 6 deletions

View File

@ -2974,13 +2974,10 @@ static int inner_child(
arg_uid_range,
arg_selinux_apifs_context,
true);
if (r < 0)
return r;
} else {
} else
r = mount_systemd_cgroup_writable("", arg_unified_cgroup_hierarchy);
if (r < 0)
return r;
}
if (r < 0)
return r;
r = setup_boot_id();
if (r < 0)