Package: multipath-tools
Version: 0.5.0-1
Severity: important

Dear Maintainer,

the status action of the init script is plenty useless as it hides the
real status code, the one thing that is interesting for any tool using
status to know about it.

As you are sourcing the lsb init-functions, you should just switch and
use the provided function from there, so replacing your existing 3 lines
with

status_of_proc -p /var/run/$NAME.pid $DAEMON $NAME && exit 0 || exit $?

and all is fine. Users can see text, scripts can see exit code.

-- 
bye Joerg


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to