Package: opendkim
Severity: important

Dear Maintainer,

The init script of opendkim use the return keywork in place of exit 
keyword in start, stop and status function, but there is no other
call in this script that would send the returned code as an exit
value.

So when you're using this init script, the exit value is always 0

Using the status argument, when opendkim is not started, this value
is normaly 3

This impact some high availability tools, like pacemaker, who use
exit codes to monitor the process.

I include a simple patch in which I replaced the return keyword by
exit.

-- System Information:
Debian Release: 7.8
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-4-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to