Skip to content

Commit

Permalink
Have user_mina() just call exit
Browse files Browse the repository at this point in the history
  • Loading branch information
james-antill committed Feb 8, 2008
1 parent 93f0ba8 commit 788f0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/yum.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
sys.path.insert(0, '/usr/share/yum-cli')
try:
import yummain
yummain.user_main(sys.argv[1:])
yummain.user_main(sys.argv[1:], exit_code=True)
except KeyboardInterrupt, e:
print >> sys.stderr, "\n\nExiting on user cancel."
sys.exit(1)

0 comments on commit 788f0cf

Please sign in to comment.