[Yum] Can plugin set exit code?
Miroslav Suchý
msuchy at redhat.com
Mon Mar 14 16:22:35 UTC 2011
I'm working on:
https://bugzilla.redhat.com/show_bug.cgi?id=658210
and I wonder. Is it even possible to set exit code from yum plugin?
I find that I can register my function to atexit.register() or even use
close hook. But the question is can I set exit code there?
I find that I can use there
sys.exit(-1)
but that is not nice, since I will not give chance to other plugins... :(
--
Miroslav Suchy
Red Hat Satellite Engineering
More information about the Yum
mailing list