Update message to remind users to re-run script
This commit is contained in:
parent
073b68ef18
commit
e0dfd7f9bb
1 changed files with 3 additions and 1 deletions
|
|
@ -503,7 +503,9 @@ class Shell:
|
|||
def check_kernel_update_reboot_required(self):
|
||||
"""Checks if the pi needs to be rebooted since the last kernel update"""
|
||||
if not self.exists("/lib/modules/{}".format(self.release())):
|
||||
self.error("OS has not been rebooted since last kernel update.")
|
||||
self.error(
|
||||
"OS has not been rebooted since last kernel update. Please reboot and re-run the script"
|
||||
)
|
||||
self.prompt_reboot()
|
||||
|
||||
# pylint: enable=invalid-name
|
||||
|
|
|
|||
Loading…
Reference in a new issue