build: Ignore error from pkill on apt upgrade (fixes #7628) (#7629)

This commit is contained in:
Simon Frei 2021-05-04 18:33:25 +02:00 committed by Jakob Borg
parent ec86db176e
commit 3967b39a17

View File

@ -10,5 +10,5 @@ fi
if [ $has_systemd -eq 0 ] && [ -n "$(systemctl list-units --plain --no-legend {{.Service}})" ]; then if [ $has_systemd -eq 0 ] && [ -n "$(systemctl list-units --plain --no-legend {{.Service}})" ]; then
deb-systemd-invoke try-restart "{{.Service}}" deb-systemd-invoke try-restart "{{.Service}}"
else else
pkill -HUP -x {{.Command}} pkill -HUP -x {{.Command}} || :
fi fi