Properly checking for reboot required.