Skip to content

Commit e4d4d65

Browse files
authored
Merge pull request #11 from makermelissa/master
Update message to remind users to re-run script
2 parents 15a19fa + 6c3dea6 commit e4d4d65

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

adafruit_shell.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,10 @@ def prompt_reboot(self):
503503
def check_kernel_update_reboot_required(self):
504504
"""Checks if the pi needs to be rebooted since the last kernel update"""
505505
if not self.exists("/lib/modules/{}".format(self.release())):
506-
self.error("OS has not been rebooted since last kernel update.")
506+
self.error(
507+
"OS has not been rebooted since last kernel update. "
508+
"Please reboot and re-run the script."
509+
)
507510
self.prompt_reboot()
508511

509512
# pylint: enable=invalid-name

0 commit comments

Comments
 (0)