Red Hat Bugzilla – Bug 223704
krb5: non-failsafe install-info use in scriptlets
Last modified: 2007-11-30 17:11:53 EST
krb5's install-info use in scriptlets is not failsafe, fix attached. More info:
Created attachment 146127 [details]
Make install-info use in scriptlets failsafe
For future reference, what's the rule here? If we call install-info last, we
explicitly return 0, or is it that we need to if we call install-info at all?
The scriptlet's exit code is the one of the last command executed in it, and
execution does not (as of now) stop if an intermediate command returns non-zero.
So if there are commands after install-info that are not known to fail in
"normal" situations (such as %_excludedocs or read-only /usr/share), an explicit
zero exit code is not needed.
Oh, and this seems to be fixed in CVS, thanks.