[Rpm-maint] [rpm-software-management/rpm] rpmplugins: don't print error if return code is RPMRC_NOTFOUND (#75)

Igor Gnatenko notifications at github.com
Tue Jul 26 09:38:44 UTC 2016


For example, in simple docer container there is no systemd, so
systemd_inhibit plugin returns RPMRC_NOTFOUND in _init() which
automatically disables plugin (!= RPMRC_OK).

So let's say that if plugin returns RPMRC_NOTFOUND during init()
it's just signal to disable plugin and not show error.

Signed-off-by: Igor Gnatenko <ignatenko at redhat.com>
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/75

-- Commit Summary --

  * rpmplugins: don't print error if return code is RPMRC_NOTFOUND

-- File Changes --

    M lib/rpmplugins.c (5)

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/75.patch
https://github.com/rpm-software-management/rpm/pull/75.diff

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/75
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20160726/242f9b90/attachment.html>


More information about the Rpm-maint mailing list