Skip to content

Commit

Permalink
Return 1 if TransactionCheckError during do_transaction()
Browse files Browse the repository at this point in the history
Closes: rpm-software-management#552
Approved by: mluscon
  • Loading branch information
j-mracek authored and DNF Bot committed Nov 15, 2016
1 parent 1164208 commit 070435c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions dnf/cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ def resolving(cli, base):
except dnf.exceptions.TransactionCheckError as err:
for msg in cli.command.get_error_output(err):
logger.critical(msg)
return 1
except IOError as e:
return ex_IOError(e)
else:
Expand Down

0 comments on commit 070435c

Please sign in to comment.