Bug#774276: /usr/bin/debsnap: debsnap exits successfully even though it did not download the requested package
Johannes Schauer
j.schauer at email.de
Sat Jan 3 06:47:37 UTC 2015
Hi,
Quoting James McCoy (2015-01-03 07:44:53)
> Agreed. What about “debsnap bash -a amd64 -a i386 2.0-3”? Should debsnap
> be treat that as an error (because not all the archs were available) or as a
> success (because *something* was downloaded)?
I think a program should only return success if it managed to do exactly what
it was asked to do. In all other situations, it should indicate that something
went wrong so that the calling process or the user can investigate the problem
and react accordingly.
Thanks!
cheers, josch
More information about the devscripts-devel
mailing list