Can plugin set exit code?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux