From ad092508ea530253700749a3119bf8a24dcc162e Mon Sep 17 00:00:00 2001 From: joey Date: Tue, 29 Jun 2004 00:03:54 +0000 Subject: r1691: * dh_installinit: Added --error-handler option. Based on work by Thom May. Closes: #209090 --- autoscripts/postinst-init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'autoscripts/postinst-init') diff --git a/autoscripts/postinst-init b/autoscripts/postinst-init index b5bd7a57..8128cd96 100644 --- a/autoscripts/postinst-init +++ b/autoscripts/postinst-init @@ -1,8 +1,8 @@ if [ -x "/etc/init.d/#SCRIPT#" ]; then update-rc.d #SCRIPT# #INITPARMS# >/dev/null if [ -x /usr/sbin/invoke-rc.d ]; then - invoke-rc.d #SCRIPT# start + invoke-rc.d #SCRIPT# start || #ERROR_HANDLER# else - /etc/init.d/#SCRIPT# start + /etc/init.d/#SCRIPT# start || #ERROR_HANDLER# fi fi -- cgit v1.2.3