mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-27 01:55:32 +03:00
Merge pull request #938 from tblume/fix-kexec-force-reboot
support reboot -f for kexec kernel
This commit is contained in:
commit
bae0c4aa19
@ -7292,6 +7292,7 @@ static int halt_now(enum action a) {
|
||||
reboot(RB_POWER_OFF);
|
||||
return -errno;
|
||||
|
||||
case ACTION_KEXEC:
|
||||
case ACTION_REBOOT: {
|
||||
_cleanup_free_ char *param = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user