Re: Can plugin set exit code?

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

 



On 03/14/2011 07:28 PM, tim.lauridsen@xxxxxxxxx wrote:
> A plugin can raise PluginYumExit and yum will exit with RC=1, but this a

Yes, but that will terminate application immediately. Which I do not
want to.

> bad thing to do in a TYPE_CORE plugin
> They are not supposed to exit yum IMO. Because it will break yum API
> applications.
> 
> sys.exit(-1) in a plugin is so BAAAAAAAAAAAAADDDDD :)
I know...

I filed:
https://bugzilla.redhat.com/show_bug.cgi?id=684859

-- 
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