base-files: ignore failure of stopping services on removal
authorJonas Gorski <jonas.gorski@gmail.com>
Mon, 21 Nov 2016 14:47:48 +0000 (15:47 +0100)
committerJonas Gorski <jonas.gorski@gmail.com>
Mon, 21 Nov 2016 17:40:15 +0000 (18:40 +0100)
commit48cfc826ebc9242c493ddbca484bbee36ba74b93
tree69a79f894b0fd5b5bf2ed71377eb62f7ed52095a
parent88a14bfd1da55bbddf5a86b3c452f1d8b1c46a60
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: Jonas Gorski <jonas.gorski@gmail.com>
Acked-by: Jo-Philipp Wich <jo@mein.io>
package/base-files/files/lib/functions.sh