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

Re: Why db_input ... || true



Robert Bihlmeyer <robbe@orcus.priv.at> writes:

> Holger Kubiak <debian@holger-kubiak.de> writes:
> 
> > Is it possible that lintian searches this entrys (in the sense: is
> > it possible to change lintian).
> 
> It is. But db_* commands return status for a reason, so people may
> want to omit the "|| true" and actually do something with the exit
> codes. lintian has no business bitchin about that.

db_input medium iptables/modename || [ $? -eq 30 ]

This stops if anything is wrong with the template, but not if the
question is already asked. IMHO makes a lot more sense then || true.

Ciao
        Racke

-- 
Prolific Interchange Consulting (Excellent German Quality !).
Take a look at Materialboerse (http://www.materialboerse.de/), WITT 
(http://www.witt-weiden.de/), Boxmover (http://shop.boxmover.ch/) or 
Passionshop (http://www.passionshop.com/racke). Need a shop ? Contact us.



Reply to: