also sprach Kai Hendry <[EMAIL PROTECTED]> [2006.06.21.0741 +0200]:
> Aren't you in agreement then?
> invoke-rc.d maradns stop || true # will always return 0

No, I do not agree. The init.d script itself should not return
failure. Ever. I cannot find where it says that though.

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

It does not call '|| true' either. See

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

#337664 and #364023

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

Just make it not fail when the daemon is not yet running. --oknodo
is the option to start-stop-daemon you want.

-- 
Please do not send copies of list mail to me; I read the list!
 
 .''`.     martin f. krafft <[EMAIL PROTECTED]>
: :'  :    proud Debian developer and author: http://debiansystem.info
`. `'`
  `-  Debian - when you have better things to do than fixing a system

Attachment: signature.asc
Description: Digital signature (GPG/PGP)

Reply via email to