]> git.ipfire.org Git - thirdparty/systemd.git/commit - src/core/main.c
core: close watchdog device if watchdog device is unspecified now 23802/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 Jun 2022 07:22:39 +0000 (16:22 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 22 Jun 2022 07:23:36 +0000 (16:23 +0900)
commit82d7a151db3f504fee705bcd0ded2fa0d64eafb2
tree93090079eda74f916fa307d32fa2e4db9ff32a9e
parente83c4d178b585df0287f00aecd2a7b5c3b0c140e
core: close watchdog device if watchdog device is unspecified now

If a watchdog device was specified previously, and unspecified later and
PID1 is reloaded, then we need to close the device.
src/core/main.c