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 committed Feb 7, 2024
1 parent c63ccbb commit 23a8a79
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(
'To continue with the upgrade reboot the system.'
' This might take a while depending on the system configuration.\n'
)


def register(base_command):
Expand Down

0 comments on commit 23a8a79

Please sign in to comment.