summaryrefslogtreecommitdiff
path: root/autoscripts/prerm-init-norestart
diff options
context:
space:
mode:
authorjoey <joey>2004-06-29 00:03:54 +0000
committerjoey <joey>2004-06-29 00:03:54 +0000
commitad092508ea530253700749a3119bf8a24dcc162e (patch)
tree9c5bcde32f8bea565082d18d9e749c39741309b6 /autoscripts/prerm-init-norestart
parent62d0cab3e04ec95e5c62a58d291018a1ebce228f (diff)
r1691: * dh_installinit: Added --error-handler option. Based on work by Thom May.
Closes: #209090
Diffstat (limited to 'autoscripts/prerm-init-norestart')
-rw-r--r--autoscripts/prerm-init-norestart4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoscripts/prerm-init-norestart b/autoscripts/prerm-init-norestart
index fb99152..0f64c45 100644
--- a/autoscripts/prerm-init-norestart
+++ b/autoscripts/prerm-init-norestart
@@ -1,7 +1,7 @@
if [ -x "/etc/init.d/#SCRIPT#" ] && [ "$1" = remove ]; then
if [ -x /usr/sbin/invoke-rc.d ] ; then
- invoke-rc.d #SCRIPT# stop
+ invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER#
else
- /etc/init.d/#SCRIPT# stop
+ /etc/init.d/#SCRIPT# stop || #ERROR_HANDLER#
fi
fi