From f4e112f404be3f7b77f274bf772078caba9c1e59 Mon Sep 17 00:00:00 2001 From: Simon Frei Date: Tue, 4 May 2021 18:33:25 +0200 Subject: [PATCH] build: Ignore error from pkill on apt upgrade (fixes #7628) (#7629) --- script/deb-post-inst.template | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/deb-post-inst.template b/script/deb-post-inst.template index b98d6e629..d662f75c4 100644 --- a/script/deb-post-inst.template +++ b/script/deb-post-inst.template @@ -10,5 +10,5 @@ fi if [ $has_systemd -eq 0 ] && [ -n "$(systemctl list-units --plain --no-legend {{.Service}})" ]; then deb-systemd-invoke try-restart "{{.Service}}" else - pkill -HUP -x {{.Command}} + pkill -HUP -x {{.Command}} || : fi