Skip to content

Commit e0dfd7f

Browse files
committed
Update message to remind users to re-run script
1 parent 073b68e commit e0dfd7f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

adafruit_shell.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -503,7 +503,9 @@ 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. Please reboot and re-run the script"
508+
)
507509
self.prompt_reboot()
508510

509511
# pylint: enable=invalid-name

0 commit comments

Comments
 (0)