Skip to content
GitLab
Explore
Sign in
steam
systemd
Repository
systemd
src
core
shutdown.c
Find file
Blame
History
Permalink
shutdown: in containers, invoke reboot(2), too. Then fallback to exit() if CAP_SYS_BOOT is missing
· cb7ec564
Lennart Poettering
authored
Sep 05, 2012
The kernel's PID namespaces support reboot(2) just fine, so let's make use of it if possible.
cb7ec564