[pacman-dev] pacman return values
aaronmgriffin at gmail.com
Fri Mar 30 11:25:45 EDT 2007
On 3/30/07, bardo <ilbardo at gmail.com> wrote:
> 2007/3/30, Dan McGee <dpmcgee at gmail.com>:
> > Nothing has changed from the release with return codes. But what is
> > "fixed"? We've never had a standard set of return codes and we want to
> > make that happen in 3.1. Hopefully we can right up a list, get it
> > implemented, and stick it in the manpage.
> No standard set, yeah, but I thought they were implemented in at least
> a basic way (0==ok, 1==not ok). I've used return codes for scripting
> with pacman some time ago, though I don't remember which flags I was
> using. Anyway, thanks for the info.
I do agree that some of these ops (-Qi, -Si, etc) should return 1 on a
"package not found" - we had this discussion with Travis somewhere
More information about the pacman-dev