We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15a19fa + 6c3dea6 commit e4d4d65Copy full SHA for e4d4d65
adafruit_shell.py
@@ -503,7 +503,10 @@ def prompt_reboot(self):
503
def check_kernel_update_reboot_required(self):
504
"""Checks if the pi needs to be rebooted since the last kernel update"""
505
if not self.exists("/lib/modules/{}".format(self.release())):
506
- self.error("OS has not been rebooted since last kernel update.")
+ self.error(
507
+ "OS has not been rebooted since last kernel update. "
508
+ "Please reboot and re-run the script."
509
+ )
510
self.prompt_reboot()
511
512
# pylint: enable=invalid-name
0 commit comments