On Thursday 27 September 2007, George Shapovalov wrote:
> Thursday, 27. September 2007, Donnie Berkholz Ви написали:
> > > + if [[ [EMAIL PROTECTED] == "${MARKER}*" ]]; then
> > > +         exit
> >
> > I'm surprised to see exit called in a function instead of returning
> > nonzero.
>
> This exit here indicates not a very usual but a valid situation, - no gnat
> profile has been activated yet. So, this is not an error, at least not
> always. But yes, returning a non zero also possible, though testing the
> result is not that different from testing for a non-zero string, and the
> latter is not intuitively percieved as an error :).

i think more to the point, ebuilds/eclasses should never be calling `exit`

if you want to "return an empty string", then you do `return`
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to