summaryrefslogtreecommitdiff
path: root/autoscripts/postrm-systemd
diff options
context:
space:
mode:
Diffstat (limited to 'autoscripts/postrm-systemd')
-rw-r--r--autoscripts/postrm-systemd6
1 files changed, 3 insertions, 3 deletions
diff --git a/autoscripts/postrm-systemd b/autoscripts/postrm-systemd
index 22725ce1..d95013b6 100644
--- a/autoscripts/postrm-systemd
+++ b/autoscripts/postrm-systemd
@@ -1,12 +1,12 @@
if [ "$1" = "remove" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
- deb-systemd-helper mask #UNITFILES# >/dev/null
+ deb-systemd-helper mask #UNITFILES# >/dev/null || true
fi
fi
if [ "$1" = "purge" ]; then
if [ -x "/usr/bin/deb-systemd-helper" ]; then
- deb-systemd-helper purge #UNITFILES# >/dev/null
- deb-systemd-helper unmask #UNITFILES# >/dev/null
+ deb-systemd-helper purge #UNITFILES# >/dev/null || true
+ deb-systemd-helper unmask #UNITFILES# >/dev/null || true
fi
fi