On 8 June 2012 21:55, Daniel Hartwig <[email protected]> wrote:
> Effectively, all errors are now reported and the exit status is well-defined:
>
>  0: success
>  1: user aborted or no matches (with search, for example)
>  2: error, but not fatal; some actions may have been effective
>  255: fatal error; no actions effective

> The alternative to this, as suggested by one commenter, is to copy
> apt-get exit codes:
>
>  0: success or no matches (apt-cache search)
>  1: user aborted
>  100: any kind of error

I just realise that it is easy to implement both schemes, with some
kind of --apt compatibility switch.

_______________________________________________
Aptitude-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/aptitude-devel

Reply via email to