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

Bug#89830: Details



On Sat, 17 Mar 2001, Matt Zimmerman wrote:

> In that case, debconf is also doing the wrong thing with its || true.  That
> means that both programs will need either a wrapper script, or some ugly magic
> like "apt-listchanges --apt || (test $? -ne 10 && cat)" and "dpkg-preconfigure
> --apt || cat".  Since all of the programs using this interface so far should be
> ignored if they fail, perhaps that should be the default behavior?

I don't understand..

If you don't want the script to never return non-zero, can't you do that
from the script?  If the script faults then shouldn't there be an error?

I'm wary to ignore pipe failures because that could mask other sorts of
errors..

Jason




Reply to: