Gentoo Archives: gentoo-pms

From: "Michał Górny" <mgorny@g.o>
To: gentoo-pms@l.g.o
Cc: "Michał Górny" <mgorny@g.o>
Subject: [gentoo-pms] [PATCH] Note that eend() should return the passed exit status.
Date: Wed, 10 Aug 2011 09:59:30
Message-Id: 1312970410-15103-1-git-send-email-mgorny@gentoo.org
In Reply to: Re: [gentoo-pms] [PATCH] Note that eend() should return the passed exit status. by Ulrich Mueller
1 This is quite useful, and paludis, pkgcore & portage all do that.
2 ---
3 pkg-mgr-commands.tex | 2 +-
4 1 files changed, 1 insertions(+), 1 deletions(-)
5
6 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
7 index 10566fa..bf555ef 100644
8 --- a/pkg-mgr-commands.tex
9 +++ b/pkg-mgr-commands.tex
10 @@ -104,7 +104,7 @@ stderr or some other appropriate facility.
11 \item[eend] Indicates that the process begun with an \t{ebegin} message has completed. Takes one
12 fixed argument, which is a numeric return code, and an optional message in all subsequent
13 arguments. If the first argument is 0, print a success indicator; otherwise, print the message
14 - followed by a failure indicator.
15 + followed by a failure indicator. Returns its first argument as exit status.
16 \end{description}
17
18 \subsubsection{Error commands}
19 --
20 1.7.6