diff options
author | Simon Frei <freisim93@gmail.com> | 2021-05-04 18:33:25 +0200 |
---|---|---|
committer | Jakob Borg <jakob@kastelo.net> | 2021-05-05 09:37:23 +0200 |
commit | 3967b39a17be2a802703678bf634d869aea662db (patch) | |
tree | ba74cb2118b3a809a5c904f1673b5f3bdbeae38e | |
parent | ec86db176edc23ad2375c5d53c9f12967836b42b (diff) |
build: Ignore error from pkill on apt upgrade (fixes #7628) (#7629)v1.16.1
-rw-r--r-- | script/deb-post-inst.template | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/script/deb-post-inst.template b/script/deb-post-inst.template index b98d6e6294..d662f75c42 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 |