Re: Why db_input ... || true
- To: debian-devel@lists.debian.org
- Subject: Re: Why db_input ... || true
- From: racke@linuxia.de (Stefan Hornburg Racke)
- Date: 11 Aug 2002 23:36:09 +0200
- Message-id: <[🔎] 87hei1gjsm.fsf@snowflake.linuxia.de>
- In-reply-to: <87adnturtk.fsf@orcus.priv.at>
- References: <20020810225238.6465ee67.debian@holger-kubiak.de> <20020811022630.GC21393@alcor.net> <20020811093436.48ea8961.debian@holger-kubiak.de> <87adnturtk.fsf@orcus.priv.at>
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: