Bastian Blank wrote:
> The prerm snippet from dh_installinit calls exit 0 if invoke-rc.d
> returns an error

if [ -x "/etc/init.d/#SCRIPT#" ]; then
        if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then
                invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER#
        else
                /etc/init.d/#SCRIPT# stop || #ERROR_HANDLER#
        fi
fi

#ERROR_HANDLER# defaults to "exit $?", not "exit 0". I don't see the bug.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to