pub fn was_forked_from_pid1() -> bool
Returns true if this process was forked from PID 1 and should use reboot(2) directly for shutdown.
true
reboot(2)