diff --git a/livesupport/etc/debian/livesupport-station.preinst b/livesupport/etc/debian/livesupport-station.preinst index 895a3b571..7519415e7 100644 --- a/livesupport/etc/debian/livesupport-station.preinst +++ b/livesupport/etc/debian/livesupport-station.preinst @@ -105,11 +105,11 @@ case "$1" in if [ "$1" = "upgrade" ]; then if command -v invoke-rc.d >/dev/null 2>&1 ; then - invoke-rc.d livesupport-station stop - invoke-rc.d livesupport-station kill + invoke-rc.d livesupport-station stop || true + invoke-rc.d livesupport-station kill || true else - /etc/init.d/livesupport-station stop - /etc/init.d/livesupport-station kill + /etc/init.d/livesupport-station stop || true + /etc/init.d/livesupport-station kill || true fi fi ;; diff --git a/livesupport/etc/debian/livesupport-station.prerm b/livesupport/etc/debian/livesupport-station.prerm index 23e75ec7a..83b0d9131 100644 --- a/livesupport/etc/debian/livesupport-station.prerm +++ b/livesupport/etc/debian/livesupport-station.prerm @@ -21,11 +21,11 @@ case "$1" in remove|upgrade|deconfigure) # stop and remove the livesupport scheduler daemon if command -v invoke-rc.d >/dev/null 2>&1 ; then - invoke-rc.d livesupport-station stop - invoke-rc.d livesupport-station kill + invoke-rc.d livesupport-station stop || true + invoke-rc.d livesupport-station kill || true else - /etc/init.d/livesupport-station stop - /etc/init.d/livesupport-station kill + /etc/init.d/livesupport-station stop || true + /etc/init.d/livesupport-station kill || true fi ;; failed-upgrade)