diff options
author | Kay Sievers <kay@vrfy.org> | 2015-08-12 16:08:18 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2015-08-12 16:08:18 +0200 |
commit | bae0c4aa1932579dcc19d8cddfab47c6502b04d0 (patch) | |
tree | 436b799c60874f75a055114eab8586c21289eb3f | |
parent | 02d0f8a8a52297da2d77f80e2f32a7e233fd8c21 (diff) | |
parent | 98d52feb9681d8e281addc1c907fc30a19b50105 (diff) |
Merge pull request #938 from tblume/fix-kexec-force-reboot
support reboot -f for kexec kernel
-rw-r--r-- | src/systemctl/systemctl.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/systemctl/systemctl.c b/src/systemctl/systemctl.c index 4e850ea1cf..1a9dbadbe1 100644 --- a/src/systemctl/systemctl.c +++ b/src/systemctl/systemctl.c @@ -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; |