Skip to content

Commit

Permalink
Make the reboot required text more visible in the console output
Browse files Browse the repository at this point in the history
The "A reboot is required to continue. Please reboot your system."
message is printed before the reports summary and thus is easily
overlooked by users.

This patch adds a second such message after the report summary to
improve this.

Jira: RHEL-22736
  • Loading branch information
matejmatuska authored and pirat89 committed Apr 22, 2024
1 parent 1f8b8f3 commit 1fb7e78
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions commands/upgrade/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,11 @@ def upgrade(args, breadcrumbs):

if workflow.failure:
sys.exit(1)
elif not args.resume:
sys.stdout.write(
'Reboot the system to continue with the upgrade.'
' This might take a while depending on the system configuration.\n'
)


def register(base_command):
Expand Down

0 comments on commit 1fb7e78

Please sign in to comment.