Commit 48cfc826 authored by Jonas Gorski's avatar Jonas Gorski
Browse files

base-files: ignore failure of stopping services on removal

Packages that do a killall <cmd> with the same name as the init script
will fail the prerm step when the service isn't running. Do make them
removable without having to restart the service, ignore the return code.
Signed-off-by: default avatarJonas Gorski <>
Acked-by: default avatarJo-Philipp Wich <>
parent 88a14bfd
......@@ -178,7 +178,7 @@ default_prerm() {
if [ "$PKG_UPGRADE" != "1" ]; then
"$i" disable
"$i" stop
"$i" stop || /bin/true
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment