core: set shutdown watchdog on kexec too
authorLuca Boccassi <luca.boccassi@microsoft.com>
Thu, 18 Jul 2019 13:25:30 +0000 (14:25 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 18 Jul 2019 20:31:43 +0000 (22:31 +0200)
commita637d0f9ecbeae2a6bdca0fb924bf8961a4cfa47
treec04589a0e06a70feb5117fcf1172c1bc9bc7a69d
parentdeeabb45ae2b7a7ea34563222887751bf1474c5c
core: set shutdown watchdog on kexec too

At the moment the shutdown watchdog is set only when rebooting.
The set of "things that can go wrong" is not too far off when kexec'ing
and in fact we have a use case where it would be useful - moving to a
new kernel image.
src/core/main.c