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