]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/prerm-init
Updated French man page translation. Closes: #685560
[debhelper.git] / autoscripts / prerm-init
index eab98c72f385f26e0707b191f2b89a13cec7c61a..2a8aa4c6cdd619a2aa52c6d83f6f3528590ff5ba 100644 (file)
@@ -1,7 +1,3 @@
 if [ -x "/etc/init.d/#SCRIPT#" ]; then
-       if [ -x /usr/sbin/invoke-rc.d ] ; then
-               invoke-rc.d #SCRIPT# stop
-       else
-               /etc/init.d/#SCRIPT# stop
-       fi
+       invoke-rc.d #SCRIPT# stop || #ERROR_HANDLER#
 fi