diff options
author | Lennart Poettering <lennart@poettering.net> | 2012-09-05 15:37:18 -0700 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2012-09-05 15:55:40 -0700 |
commit | cb7ec5645e0edf154f0cc8414f5914cb433d0dfe (patch) | |
tree | 8fa019e36d068cf16005e8327b46ee6d067bb9c0 /src/shared/util.c | |
parent | 57371e5829a61e5ee6c9f98404dfc729d6c62608 (diff) |
shutdown: in containers, invoke reboot(2), too. Then fallback to exit() if CAP_SYS_BOOT is missing
The kernel's PID namespaces support reboot(2) just fine, so let's make
use of it if possible.
Diffstat (limited to 'src/shared/util.c')
0 files changed, 0 insertions, 0 deletions