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

Re: Bug#4974: Bug in dpkg Version:

On Tue, 5 Nov 1996, Chris Fearnley wrote:

> >It seems clear that dpkg returns a zero error code for both the failure
> >and the success. This is not correct.
> $ dpkg -I foo
> dpkg-deb: failed to read archive `foo': No such file or directory
> $ echo $?
> 2

Ahah! A third error code is heard.

> I don't know why your perl script fails.  I'm using dpkg-
My code was only expecting two states for the error code when there are
three. Are there more? Are they documented? I arrived at my values by
experiment ;-)



------------                                          --------------

aka   Dale Scheetz                   Phone:   1 (904) 877-0257
      Flexible Software              Fax:     NONE 
      Black Creek Critters           e-mail:  dwarf@polaris.net

------------ If you don't see what you want, just ask --------------

TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com

Reply to: