* [gentoo-pms] [PATCH] Note that eend() should return the passed exit status.
@ 2011-08-10 9:41 Michał Górny
2011-08-10 9:54 ` Ulrich Mueller
0 siblings, 1 reply; 3+ messages in thread
From: Michał Górny @ 2011-08-10 9:41 UTC (permalink / raw
To: gentoo-pms; +Cc: Michał Górny
This is quite useful, and paludis, pkgcore & portage all do that.
---
pkg-mgr-commands.tex | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 10566fa..2c086b2 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -104,7 +104,7 @@ stderr or some other appropriate facility.
\item[eend] Indicates that the process begun with an \t{ebegin} message has completed. Takes one
fixed argument, which is a numeric return code, and an optional message in all subsequent
arguments. If the first argument is 0, print a success indicator; otherwise, print the message
- followed by a failure indicator.
+ followed by a failure indicator. Returns the same exit status as its first argument.
\end{description}
\subsubsection{Error commands}
--
1.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [gentoo-pms] [PATCH] Note that eend() should return the passed exit status.
2011-08-10 9:41 [gentoo-pms] [PATCH] Note that eend() should return the passed exit status Michał Górny
@ 2011-08-10 9:54 ` Ulrich Mueller
2011-08-10 10:00 ` Michał Górny
0 siblings, 1 reply; 3+ messages in thread
From: Ulrich Mueller @ 2011-08-10 9:54 UTC (permalink / raw
To: gentoo-pms; +Cc: Michał Górny
>>>>> On Wed, 10 Aug 2011, Michał Górny wrote:
> - followed by a failure indicator.
> + followed by a failure indicator. Returns the same exit status as its first argument.
I'd rather have "Returns its first argument as exit status."
Ulrich
^ permalink raw reply [flat|nested] 3+ messages in thread
* [gentoo-pms] [PATCH] Note that eend() should return the passed exit status.
2011-08-10 9:54 ` Ulrich Mueller
@ 2011-08-10 10:00 ` Michał Górny
0 siblings, 0 replies; 3+ messages in thread
From: Michał Górny @ 2011-08-10 10:00 UTC (permalink / raw
To: gentoo-pms; +Cc: Michał Górny
This is quite useful, and paludis, pkgcore & portage all do that.
---
pkg-mgr-commands.tex | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
index 10566fa..bf555ef 100644
--- a/pkg-mgr-commands.tex
+++ b/pkg-mgr-commands.tex
@@ -104,7 +104,7 @@ stderr or some other appropriate facility.
\item[eend] Indicates that the process begun with an \t{ebegin} message has completed. Takes one
fixed argument, which is a numeric return code, and an optional message in all subsequent
arguments. If the first argument is 0, print a success indicator; otherwise, print the message
- followed by a failure indicator.
+ followed by a failure indicator. Returns its first argument as exit status.
\end{description}
\subsubsection{Error commands}
--
1.7.6
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-08-10 9:59 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-10 9:41 [gentoo-pms] [PATCH] Note that eend() should return the passed exit status Michał Górny
2011-08-10 9:54 ` Ulrich Mueller
2011-08-10 10:00 ` Michał Górny
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox