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.
1 parent 073b68e commit e0dfd7fCopy full SHA for e0dfd7f
adafruit_shell.py
@@ -503,7 +503,9 @@ 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. Please reboot and re-run the script"
508
+ )
509
self.prompt_reboot()
510
511
# pylint: enable=invalid-name
0 commit comments