On 2006-06-20T18:00+0200 martin f krafft wrote:
> also sprach Michael Prokop <[EMAIL PROTECTED]> [2006.06.20.1628 +0200]:
> > Use of:
> > 
> >   invoke-rc.d maradns stop || true
> > 
> > instead of:
> > 
> >   invoke-rc.d maradns stop || exit $?
> 
> No (see policy 9.3.3.2)! Instead, the init.d script should not
> return an error (should always return 0).

Aren't you in agreement then?
invoke-rc.d maradns stop || true # will always return 0

I can't see where policy 9.3.3.2 mentions the return code. Though I
believe you.


The prerm is setup by dh_installinit. So I doubt that's wrong.


I can add `true` into maradns.init stop case. That should fix it.

Attachment: signature.asc
Description: Digital signature

Reply via email to