On Wed 09 Dec 2009, Vincent Lefevre wrote: > > The /var/lib/dpkg/info/wwwoffle.prerm script contains: > > set +e # ignore errors while stopping > # Automatically added by dh_installinit > if [ -x "/etc/init.d/wwwoffle" ]; then > if [ -x "`which invoke-rc.d 2>/dev/null`" ]; then > invoke-rc.d wwwoffle stop || exit $? > else > /etc/init.d/wwwoffle stop || exit $? > fi > fi > # End automatically added section > > If "|| exit $?" is added, the "set +e" won't prevent the script > from exiting with a non-zero status.
The problem here is that this part is "Automatically added by dh_installinit", as stated by the comment. I guess I have to fix it so that the init.d script doesn't exit with non-zero if "stop" is requested. Paul -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org