[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: aptitude has poor exit status behaviour



Andrew Sackville-West wrote:
> On Thu, Dec 13, 2007 at 02:24:15AM +0000, Nick Boyce wrote:
>
>> (Etch) aptitude's error handling [cough] falls short of optimum
>> behaviour.  In particular it returns an exit status of zero in various
>> failure situations
[...]
>> I did a quick test with 'apt-get' on Sarge, and found it returns exit
>> status 100 in at least some of these situations (I didn't test all of
>> them), so there seems to have been some regression here :
> 
> apt-get is a different program. There's not a regression unless the
> lack of error codes appears in apt-get in etch and later.

Agreed it's a different program (though I would guess it shares at least
some code) - but what I meant was a regression in system functionality
as a whole, rather than in 'aptitude' specifically.  Sorry if I abused
the term.

Cheers,
Nick Boyce
-- 
'If you don't pray in my school, I won't think in your church'



Reply to: