]> git.donarmstrong.com Git - debhelper.git/blobdiff - autoscripts/prerm-init-norestart
Updated French man page translation. Closes: #685560
[debhelper.git] / autoscripts / prerm-init-norestart
index fb99152472bd99c18cf29003b9fac868112c0a55..cacde6e31c98e2c68d3a53717052230452a8a1c3 100644 (file)
@@ -1,7 +1,3 @@
 if [ -x "/etc/init.d/#SCRIPT#" ] && [ "$1" = remove ]; 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