The RB_HALT bit is always set when invoked as halt, so to maintain a
distinction between halt and halt -p, we must check the RB_POWEROFF
bit first.
PR: 291814
Fixes: 4453ec5b8716 ("reboot: Default to a clean shutdown")
Differential D54320
reboot: Fix halt -p behavior Authored by des on Fri, Dec 19, 7:55 PM.
Details
The RB_HALT bit is always set when invoked as halt, so to maintain a PR: 291814
Diff Detail
|