Skip to content

Commit

Permalink
Fix comments of exit codes (#1276)
Browse files Browse the repository at this point in the history
Fix comments describing situations when convert2rhel can exit with
different exit code than 0.
  • Loading branch information
hosekadam authored Jun 21, 2024
1 parent 3c8e4a3 commit 7e7e3c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions convert2rhel/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,10 @@ class ConversionPhase:
class ConversionExitCodes:
# No errors detected during the conversion
SUCCESSFUL = 0
# Some inhibitors appeared during the pre conversion analysis
# Some exception was raised (excluding _InhibitorsFound and _AnalyzeExit) or rollback failed
# Internal convert2rhel problem
FAILURE = 1
# Inhibitors that are part of the conversion process
# Inhibitors found - problem found on the system (like outdated packages, failed to subscribe etc.)
INHIBITORS_FOUND = 2


Expand Down

0 comments on commit 7e7e3c5

Please sign in to comment.