[Yum] yum-arch exit codes
seth vidal
skvidal at phy.duke.edu
Wed Oct 1 20:18:31 UTC 2003
On Wed, 2003-10-01 at 15:06, nathan r. hruby wrote:
> Hi,
>
> So I recently updated our yum-arch-ifier script to bug us about errors in
> yum arch. So now it allways emails us :) What are the exit codes that
> yum-arch uses that should make me worry (or what are they at all :) ?
>
> Looking though the yum-arch code (and the includes) indicate that the only
> sys.exit()'s called are 0 and 1 but, that doesn't jive as all of the
> exit(1)'s seem to be bails and nothing is ending prematurely during the
> runs.
not sure what you're looking for here.
if it fails it exits with an error code of 1 - if it succeeds that's an
exit 0 - normal exit.
what problem are you seeing?
-sv
More information about the Yum
mailing list