On Thu, Sep 21, 2006 at 02:16:09PM +0200, Michel Dänzer wrote: > On Thu, 2006-09-21 at 11:40 +0200, Bas Wijnen wrote:
> > The easiest solution is to remove the debug_echo. If it is needed for some > > reason, a construct like this should be made (note that this happens in a > > set > > +e block): > > db_input "$PRIORITY" "$TEMPLATE" > > retval=$? > > if [ $retval -ne 0 ] ; then debug_echo "v_s_d_i/db_input $PRIORITY > > $TEMPLATE" > > ; fi > > if [ $? -eq 30 ]; then > The last line should use $retval as well instead of $?, shouldn't it? Yes, it should. -- Steve Langasek Give me a lever long enough and a Free OS Debian Developer to set it on, and I can move the world. [EMAIL PROTECTED] http://www.debian.org/