base-files: ignore failure of stopping services on removal
[openwrt/staging/jogo.git] / package / base-files / files / lib / functions.sh
index a5838f6035cd5462a2fb51043885923ad261a2b3..b3bf2213f4122c044632d0d835f0bc92c2d61491 100755 (executable)
@@ -178,7 +178,7 @@ default_prerm() {
                        if [ "$PKG_UPGRADE" != "1" ]; then
                                "$i" disable
                        fi
-                       "$i" stop
+                       "$i" stop || /bin/true
                fi
        done
 }