Minor stylistic improvements to check_reboot_req