Do not try to manage system (shutdown, reboot) if not running as PID 1.
authorDavin McCall <davmac@davmac.org>
Sun, 21 Oct 2018 20:58:10 +0000 (21:58 +0100)
committerDavin McCall <davmac@davmac.org>
Sun, 21 Oct 2018 20:58:10 +0000 (21:58 +0100)
commitedffbc261a56fcdf56348f324dc7eb74ae0cfff2
tree3226e60b1cc64257530652554bf16ff94ae27694
parentc22b66103ac61af0513bcf24a6e455af4730e775
Do not try to manage system (shutdown, reboot) if not running as PID 1.

If not PID 1, assume system management is being taken care of by a
separate primary init.
doc/manpages/dinit.8
src/dinit.cc